What’s Vulnerable › Vulnerabilities
CVE-2024-31083: Xorg-x11-server: use-after-free in procrenderaddglyphs
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-05 · updated 2026-06-17
- Weakness: CWE-416
Description
A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function of Xorg servers. This issue occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server, potentially resulting in multiple entries pointing to the same non-refcounted glyphs. Consequently, ProcRenderAddGlyphs() may free a glyph, leading to a use-after-free scenario when the same glyph pointer is subsequently accessed. This flaw allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request.
Affected products
- Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION: all versions — fixed in 0:1.1.0-25.el6_10.13
- Red Hat Enterprise Linux 7: all versions — fixed in 0:1.20.4-29.el7_9, 0:1.8.0-33.el7_9
- Red Hat Enterprise Linux 8: all versions — fixed in 0:1.13.1-10.el8_10, 0:1.13.1-2.el8_9.10, 0:1.20.11-23.el8_10, 0:21.1.3-16.el8_10
- Red Hat Enterprise Linux 8.2 Advanced Update Support: all versions — fixed in 0:1.9.0-15.el8_2.11
- Red Hat Enterprise Linux 8.2 Telecommunications Update Service: all versions — fixed in 0:1.9.0-15.el8_2.11
- Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions: all versions — fixed in 0:1.9.0-15.el8_2.11
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions — fixed in 0:1.11.0-8.el8_4.10
- Red Hat Enterprise Linux 8.4 Telecommunications Update Service: all versions — fixed in 0:1.11.0-8.el8_4.10
- Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions: all versions — fixed in 0:1.11.0-8.el8_4.10
- Red Hat Enterprise Linux 8.6 Extended Update Support: all versions — fixed in 0:1.12.0-6.el8_6.11
- Red Hat Enterprise Linux 8.8 Extended Update Support: all versions — fixed in 0:1.12.0-15.el8_8.10
- Red Hat Enterprise Linux 9: all versions — fixed in 0:1.13.1-8.el9_4.3, 0:1.20.11-26.el9, 0:23.2.7-1.el9
- Red Hat Enterprise Linux 9.0 Extended Update Support: all versions — fixed in 0:1.11.0-22.el9_0.11
- Red Hat Enterprise Linux 9.2 Extended Update Support: all versions — fixed in 0:1.12.0-14.el9_2.8
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION 0:1.1.0-25.el6_10.13; Red Hat Enterprise Linux 7 0:1.20.4-29.el7_9, 0:1.8.0-33.el7_9; Red Hat Enterprise Linux 8 0:1.13.1-10.el8_10, 0:1.13.1-2.el8_9.10, 0:1.20.11-23.el8_10, 0:21.1.3-16.el8_10; Red Hat Enterprise Linux 8.2 Advanced Update Support 0:1.9.0-15.el8_2.11; Red Hat Enterprise Linux 8.2 Telecommunications Update Service 0:1.9.0-15.el8_2.11; Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions 0:1.9.0-15.el8_2.11; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:1.11.0-8.el8_4.10; Red Hat Enterprise Linux 8.4 Telecommunications Update Service 0:1.11.0-8.el8_4.10; Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions 0:1.11.0-8.el8_4.10; Red Hat Enterprise Linux 8.6 Extended Update Support 0:1.12.0-6.el8_6.11; Red Hat Enterprise Linux 8.8 Extended Update Support 0:1.12.0-15.el8_8.10; Red Hat Enterprise Linux 9 0:1.13.1-8.el9_4.3, 0:1.20.11-26.el9, 0:23.2.7-1.el9. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:1785
- https://access.redhat.com/errata/RHSA-2024:2036
- https://access.redhat.com/errata/RHSA-2024:2037
- https://access.redhat.com/errata/RHSA-2024:2038
- https://access.redhat.com/errata/RHSA-2024:2039
- https://access.redhat.com/errata/RHSA-2024:2040
- https://access.redhat.com/errata/RHSA-2024:2041
- https://access.redhat.com/errata/RHSA-2024:2042
- https://access.redhat.com/errata/RHSA-2024:2080
- https://access.redhat.com/errata/RHSA-2024:2616
- https://access.redhat.com/errata/RHSA-2024:3258
- https://access.redhat.com/errata/RHSA-2024:3261
Get alerted when CVE-2024-31083 or the next vulnerability affects your stack