CVE-2024-31083

Xorg-x11-server: use-after-free in procrenderaddglyphs

State
Published
Severity
7.8 High
Published
Apr 5, 2024
Updated
Nov 20, 2025
Reserved
Mar 28, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
xorg-x11-server
  • 21.1.12Affected
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat
  • 0:1.1.0-25.el6_10.13 and laterNot affected
Red Hat Enterprise Linux 7Red Hat
  • 0:1.20.4-29.el7_9 and laterNot affected
Red Hat Enterprise Linux 7Red Hat
  • 0:1.8.0-33.el7_9 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.13.1-2.el8_9.10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.20.11-23.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.13.1-10.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:21.1.3-16.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat
  • 0:1.9.0-15.el8_2.11 and laterNot affected
Red Hat Enterprise Linux 8.2 Telecommunications Update ServiceRed Hat
  • 0:1.9.0-15.el8_2.11 and laterNot affected
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionsRed Hat
  • 0:1.9.0-15.el8_2.11 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:1.11.0-8.el8_4.10 and laterNot affected
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat
  • 0:1.11.0-8.el8_4.10 and laterNot affected
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat
  • 0:1.11.0-8.el8_4.10 and laterNot affected
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat
  • 0:1.12.0-6.el8_6.11 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 0:1.12.0-15.el8_8.10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.13.1-8.el9_4.3 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:23.2.7-1.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.20.11-26.el9 and laterNot affected
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat
  • 0:1.11.0-22.el9_0.11 and laterNot affected
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat
  • 0:1.12.0-14.el9_2.8 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 10Red Hat
      Red Hat Enterprise Linux 10Red Hat
        Red Hat Enterprise Linux 6Red Hat

          References

          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.