CVE-2025-26597: Xorg: xwayland: buffer overflow in xkbchangetypesofkey()
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.44% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: gitlab.freedesktop.org/xorg/xserver/ xserver 21.1.16, 24.1.6; azl3 xorg-x11-server-Xwayland 24.1.1-3 on Azure Linux 3.0 24.1.6-1; azl3 xorg-x11-server-Xwayland 24.1.6-1 on Azure Linux 3.0 24.1.6-1.
Low priority for now. Upgrade to gitlab.freedesktop.org/xorg/xserver/ xserver 21.1.16, 24.1.6; azl3 xorg-x11-server-Xwayland 24.1.1-3 on Azure Linux 3.0 24.1.6-1; azl3 xorg-x11-server-Xwayland 24.1.6-1 on Azure Linux 3.0 24.1.6-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2025-06974
- ALSA-2025:2500
- ALSA-2025:2502
- ALSA-2025:7163
- ALSA-2025:7165
- DLA-4072-1
- DSA-5872-1
- openSUSE-SU-2025:14837-1
- openSUSE-SU-2025:14841-1
- openSUSE-SU-2025:14842-1
- RHSA-2025:2500
- RHSA-2025:2502
- RHSA-2025:2861
- RHSA-2025:2862
- RHSA-2025:2865
- RHSA-2025:2866
- RHSA-2025:2873
- RHSA-2025:2874
- RHSA-2025:2875
- RHSA-2025:2879
- Published
- Feb 25, 2025
- Updated
- Nov 4, 2026
- EPSS
- 0.4% · 39th percentile
- CWE
- CWE-119
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · redhat
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| x.org | x server | cpe:2.3:a:x.org:x_server |
| x.org | xwayland | cpe:2.3:a:x.org:xwayland |
| tigervnc | tigervnc | cpe:2.3:a:tigervnc:tigervnc |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
gitlab.freedesktop.org/xorg/xserver/ xserver
- before 21.1.16affected · semver
- 22.0.0 and later · before 24.1.6affected · semver
Red Hat Red Hat Enterprise Linux 10
- 0:24.1.5-3.el10_0 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
- 0:1.1.0-25.el6_10 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
- 0:1.8.0-36.el7_9 and laternot affected · rpm
- 0:1.20.4-30.el7_9 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8
- 0:1.13.1-15.el8_10 and laternot affected · rpm
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
- 0:1.9.0-15.el8_2.13 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- 0:1.11.0-8.el8_4.12 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- 0:1.11.0-8.el8_4.12 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
- 0:1.11.0-8.el8_4.12 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- 0:1.12.0-6.el8_6.13 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- 0:1.12.0-6.el8_6.13 and laternot affected · rpm
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redhat enterprise linux7.0
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- tigervnc tigervncall versions
- x.org x serverbefore 21.1.16
- x.org xwaylandbefore 24.1.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | tigervnc | before 1.13.1-15.el8_10 | 1.13.1-15.el8_10 |
| AlmaLinux:8 | tigervnc-icons | before 1.13.1-15.el8_10 | 1.13.1-15.el8_10 |
| AlmaLinux:8 | tigervnc-license | before 1.13.1-15.el8_10 | 1.13.1-15.el8_10 |
| AlmaLinux:8 | tigervnc-selinux | before 1.13.1-15.el8_10 | 1.13.1-15.el8_10 |
| AlmaLinux:8 | tigervnc-server | before 1.13.1-15.el8_10 | 1.13.1-15.el8_10 |
| AlmaLinux:8 | tigervnc-server-minimal | before 1.13.1-15.el8_10 | 1.13.1-15.el8_10 |
| AlmaLinux:8 | tigervnc-server-module | before 1.13.1-15.el8_10 | 1.13.1-15.el8_10 |
| AlmaLinux:9 | tigervnc | before 1.14.1-1.el9_5.1 | 1.14.1-1.el9_5.1 |
| AlmaLinux:9 | tigervnc-icons | before 1.14.1-1.el9_5.1 | 1.14.1-1.el9_5.1 |
| AlmaLinux:9 | tigervnc-license | before 1.14.1-1.el9_5.1 | 1.14.1-1.el9_5.1 |
| AlmaLinux:9 | tigervnc-selinux | before 1.14.1-1.el9_5.1 | 1.14.1-1.el9_5.1 |
| AlmaLinux:9 | tigervnc-server | before 1.14.1-1.el9_5.1 | 1.14.1-1.el9_5.1 |
| AlmaLinux:9 | tigervnc-server-minimal | before 1.14.1-1.el9_5.1 | 1.14.1-1.el9_5.1 |
| AlmaLinux:9 | tigervnc-server-module | before 1.14.1-1.el9_5.1 | 1.14.1-1.el9_5.1 |
| AlmaLinux:9 | xorg-x11-server-common | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-devel | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-source | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-Xdmx | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-Xephyr | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-Xnest | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-Xorg | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-Xvfb | before 1.20.11-28.el9_6 | 1.20.11-28.el9_6 |
| AlmaLinux:9 | xorg-x11-server-Xwayland | before 23.2.7-3.el9_6 | 23.2.7-3.el9_6 |
| AlmaLinux:9 | xorg-x11-server-Xwayland-devel | before 23.2.7-3.el9_6 | 23.2.7-3.el9_6 |
+96
Same product
x.org: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-6816Xorg-x11-server: heap buffer overflow in devicefocusevent and procxiquerypointer40Plan
- CVE-2018-14665A flaw was found in xorg-x11-server before 1.20.3.40Plan
- CVE-2007-6427The XInput extension in X.Org Xserver before 1.4.1 allows context-dependent attackers to execute arbitrary code via requests related to…38Monitor
Published before and after this one in the same product
- ← EarlierCVE-2025-26595Feb 25, 2025 · Xorg: xwayland: buffer overflow in xkbvmodmasktext()31Monitor
- ← EarlierCVE-2025-26596Feb 25, 2025 · Xorg: xwayland: heap overflow in xkbwritekeysyms()31Monitor
- Later →CVE-2025-26598Feb 25, 2025 · Xorg: xwayland: out-of-bounds write in createpointerbarrierclient()31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| gitlab.freedesktop.org/xorg/xserver/ xserver | 21.1.16 | Vendor (CNA) |
| gitlab.freedesktop.org/xorg/xserver/ xserver | 24.1.6 | Vendor (CNA) |
| azl3 xorg-x11-server-Xwayland 24.1.1-3 on Azure Linux 3.0 | 24.1.6-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 xorg-x11-server-Xwayland 24.1.6-1 on Azure Linux 3.0 | 24.1.6-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 xorg-x11-server 1.20.10-15 on CBL Mariner 2.0 | 1.20.10-15 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 xorg-x11-server 1.20.10-15 on CBL-Mariner 2.0 | 1.20.10-15 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:tigervnc | 1.14.1-1.el9_5.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:tigervnc-icons | 1.14.1-1.el9_5.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:tigervnc-license | 1.14.1-1.el9_5.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:tigervnc-selinux | 1.14.1-1.el9_5.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:tigervnc-server | 1.14.1-1.el9_5.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:tigervnc-server-minimal | 1.14.1-1.el9_5.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:tigervnc-server-module | 1.14.1-1.el9_5.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:xorg-x11-server-Xdmx | 1.20.11-28.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:xorg-x11-server-Xephyr | 1.20.11-28.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:xorg-x11-server-Xnest | 1.20.11-28.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:xorg-x11-server-Xorg | 1.20.11-28.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:xorg-x11-server-Xvfb | 1.20.11-28.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| alpine:xorg-server | 21.1.16-r0 · Alpine:v3.21 | Package registry (OSV) |
| alpine:xwayland | 24.1.6-r0 · Alpine:v3.21 | Package registry (OSV) |
| debian:xorg-server | 2:21.1.7-3+deb12u9 · Debian:12 | Package registry (OSV) |
| debian:xwayland | 2:24.1.6-1 · Debian:13 | Package registry (OSV) |
| opensuse:libX11 | 1.8.7-150600.3.3.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:xorg-x11-server | 21.1.11-150600.5.6.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:xwayland | 24.1.1-150600.5.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:tigervnc | 0:1.14.1-1.el9_5.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:tigervnc-debuginfo | 0:1.14.1-1.el9_5.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:tigervnc-debugsource | 0:1.14.1-1.el9_5.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:tigervnc-icons | 0:1.14.1-1.el9_5.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:tigervnc-license | 0:1.14.1-1.el9_5.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
+13
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (18 more)Show less
- access.redhat.com/errata/RHSA-2025:2502
- access.redhat.com/errata/RHSA-2025:2861
- access.redhat.com/errata/RHSA-2025:2862
- access.redhat.com/errata/RHSA-2025:2865
- access.redhat.com/errata/RHSA-2025:2866
- access.redhat.com/errata/RHSA-2025:2873
- access.redhat.com/errata/RHSA-2025:2874
- access.redhat.com/errata/RHSA-2025:2875
- access.redhat.com/errata/RHSA-2025:2879
- access.redhat.com/errata/RHSA-2025:2880
- access.redhat.com/errata/RHSA-2025:3976
- access.redhat.com/errata/RHSA-2025:7163
- access.redhat.com/errata/RHSA-2025:7165
- access.redhat.com/errata/RHSA-2025:7458
- access.redhat.com/security/cve/CVE-2025-26597
- bugzilla.redhat.com/show_bug.cgi?id=2345255
- www.openwall.com/lists/oss-security/2026/06/02/1
- lists.debian.org/debian-lts-announce/2025/02/msg00036.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.