Bug 2345255 (CVE-2025-26597)

Summary: CVE-2025-26597 xorg: xwayland: Buffer overflow in XkbChangeTypesOfKey()
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A buffer overflow flaw was found in X.Org and Xwayland. If XkbChangeTypesOfKey() is called with a 0 group, it will resize the key symbols table to 0 but leave the key actions unchanged. If the same function is later called with a non-zero value of groups, this will cause a buffer overflow because the key actions are of the wrong size.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2349376, 2349377, 2349378    
Bug Blocks:    
Deadline: 2025-02-25   

Description OSIDB Bzimport 2025-02-12 14:23:50 UTC
If XkbChangeTypesOfKey() is called with 0 group, it will resize the key
symbols table to 0 but leave the key actions unchanged.

If later, the same function is called with a non-zero value of groups,
this will cause a buffer overflow because the key actions are of the wrong
size.

Comment 1 errata-xmlrpc 2025-03-10 12:36:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:2500 https://access.redhat.com/errata/RHSA-2025:2500

Comment 2 errata-xmlrpc 2025-03-10 12:46:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:2502 https://access.redhat.com/errata/RHSA-2025:2502

Comment 3 errata-xmlrpc 2025-03-17 01:13:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2025:2866 https://access.redhat.com/errata/RHSA-2025:2866

Comment 4 errata-xmlrpc 2025-03-17 01:27:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2025:2862 https://access.redhat.com/errata/RHSA-2025:2862

Comment 5 errata-xmlrpc 2025-03-17 01:28:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:2861 https://access.redhat.com/errata/RHSA-2025:2861

Comment 6 errata-xmlrpc 2025-03-17 01:36:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions

Via RHSA-2025:2865 https://access.redhat.com/errata/RHSA-2025:2865

Comment 7 errata-xmlrpc 2025-03-17 01:37:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:2873 https://access.redhat.com/errata/RHSA-2025:2873

Comment 8 errata-xmlrpc 2025-03-17 01:44:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:2875 https://access.redhat.com/errata/RHSA-2025:2875

Comment 9 errata-xmlrpc 2025-03-17 01:46:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2025:2874 https://access.redhat.com/errata/RHSA-2025:2874

Comment 10 errata-xmlrpc 2025-03-17 03:11:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:2879 https://access.redhat.com/errata/RHSA-2025:2879

Comment 11 errata-xmlrpc 2025-03-17 04:20:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:2880 https://access.redhat.com/errata/RHSA-2025:2880

Comment 14 errata-xmlrpc 2025-04-17 06:35:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION

Via RHSA-2025:3976 https://access.redhat.com/errata/RHSA-2025:3976

Comment 15 errata-xmlrpc 2025-05-13 10:14:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7163 https://access.redhat.com/errata/RHSA-2025:7163

Comment 16 errata-xmlrpc 2025-05-13 10:15:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7165 https://access.redhat.com/errata/RHSA-2025:7165

Comment 17 errata-xmlrpc 2025-05-13 15:55:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:7458 https://access.redhat.com/errata/RHSA-2025:7458