CVE-2024-31083

Source
https://cve.org/CVERecord?id=CVE-2024-31083
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31083.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-31083
Downstream
Related
Published
2024-04-05T12:04:49.414Z
Modified
2026-07-11T03:55:11.655982365Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Xorg-x11-server: use-after-free in procrenderaddglyphs
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31083.json",
    "cwe_ids": [
        "CWE-416"
    ],
    "cna_assigner": "redhat"
}
References

Affected packages

Git / gitlab.freedesktop.org/xorg/xserver

Affected ranges

Type
GIT
Repo
https://gitlab.freedesktop.org/xorg/xserver
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "21.1.12"
        },
        {
            "last_affected": "21.1.12"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

21.*
21.1.12
xorg-server-21.*
xorg-server-21.1.12

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31083.json"