Xorg: xwayland: buffer overflow in xkbvmodmasktext()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 21.1.16, 24.1.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- xserver
fixed in 21.1.16; From 22.0.0 · fixed in 24.1.6
- xorg-x11-server-Xwayland
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- xorg-x11-server
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- xorg-x11-server
Version range not reported
- xorg-x11-server-Xwayland
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- tigervnc
Version range not reported
- xorg-x11-server
Version range not reported
- xorg-x11-server
Version range not reported
- xorg-x11-server-Xwayland
Version range not reported
References 17
access.redhat.com
- errata/RHSA-2025:2500
- errata/RHSA-2025:2502
- errata/RHSA-2025:2861
- errata/RHSA-2025:2862
- errata/RHSA-2025:2865
- errata/RHSA-2025:2866
- errata/RHSA-2025:2873
- errata/RHSA-2025:2874
- errata/RHSA-2025:2875
- errata/RHSA-2025:2879
- errata/RHSA-2025:2880
- errata/RHSA-2025:3976
- errata/RHSA-2025:7163
- errata/RHSA-2025:7165
- errata/RHSA-2025:7458
- security/cve/CVE-2025-26595