# CVE-2024-31083: Xorg-x11-server: use-after-free in procrenderaddglyphs

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-04-05 · Modified: 2026-11-23
- Aliases: SUSE-SU-2024:1263-1, UBUNTU-CVE-2024-31083, DEBIAN-CVE-2024-31083, CGA-cj2w-xrvc-4725, CGA-cj59-q75g-82qq, ALPINE-CVE-2024-31083
- Record: https://cvemate.com/vulnerability/CVE-2024-31083 · JSON: https://cvemate.com/vulnerability/CVE-2024-31083/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.843%, percentile 79.757%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine xorg-server (Alpine Linux): \< 21.1.12-r0
- alpine xwayland (Alpine Linux): \< 23.2.5-r0
- chainguard xorg-server (Chainguard): \< 21.1.12-r0
- wolfi xorg-server (Wolfi): \< 21.1.12-r0
- debian xorg-server (Debian): \< 2:21.1.7-3+deb12u7 \| \< 2:21.1.11-3
- debian xwayland (Debian): All versions (No fix recorded) \| \< 2:23.2.6-1
- ubuntu xorg-server (Ubuntu): \< 2:1.15.1-0ubuntu2.11+esm11 \| \< 2:1.18.4-0ubuntu0.12+esm13 \| \< 2:1.19.6-1ubuntu4.15+esm8 \| \< 2:1.20.13-1ubuntu1~20.04.17 \| \< 2:21.1.4-2ubuntu1.7~22.04.10 \| \< 2:21.1.12-1ubuntu1
- ubuntu xorg-server-hwe-16.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xorg-server-hwe-18.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xwayland (Ubuntu): \< 2:22.1.1-1ubuntu0.13
- suse xorg-x11-server&distro=SUSE Linux Enterprise Server 12 SP5 (SUSE Linux Enterprise): \< 1.19.6-10.74.1
- suse xorg-x11-server&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5 (SUSE Linux Enterprise): \< 1.19.6-10.74.1
- suse xorg-x11-server&distro=SUSE Linux Enterprise Software Development Kit 12 SP5 (SUSE Linux Enterprise): \< 1.19.6-10.74.1

## References (first 20 of 38)

- <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>
- <https://access.redhat.com/errata/RHSA-2024:3343>
- <https://access.redhat.com/errata/RHSA-2024:9093>
- <https://access.redhat.com/errata/RHSA-2024:9122>
- <https://access.redhat.com/errata/RHSA-2025:12751>
- <https://access.redhat.com/security/cve/CVE-2024-31083>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2272000>
- <http://www.openwall.com/lists/oss-security/2024/04/03/13>
- <http://www.openwall.com/lists/oss-security/2024/04/12/10>

---

Data as of 2026-12-05T04:22:51.181Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
