CVE-2024-0408

Xorg-x11-server: selinux unlabeled glx pbuffer

State
Published
Severity
5.5 Medium
Published
Jan 18, 2024
Updated
Nov 20, 2025
Reserved
Jan 10, 2024

Read the record on cve.org

Description

A flaw was found in the X.Org server. The GLX PBuffer code does not call the XACE hook when creating the buffer, leaving it unlabeled. When the client issues another request to access that resource (as with a GetGeometry) or when it creates another resource that needs to access that buffer, such as a GC, the XSELINUX code will try to use an object that was never labeled and crash because the SID is NULL.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

  • CWE-158 Improper Neutralization of Null Byte or NUL Character

Affected Products

ProductVersions
xorg-server
  • 21.1.0 to before 21.1.11Affected
Red Hat Enterprise Linux 7Red Hat
  • 0:1.20.4-27.el7_9 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.20.11-22.el8 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:21.1.3-15.el8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.20.11-24.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:22.1.9-5.el9 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat Enterprise Linux 9Red 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.