CVE-2023-43787: Libx11: integer overflow in xcreateimage() leading to a heap overflow
Vulnerability summary
CVE-2023-43787 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in fedoraproject fedora. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 45.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 7Timeline
- 10-10-2023PublishedVulnerability first disclosed.
- 07-11-2026Last modifiedVulnerability information updated.
Description
A vulnerability was found in libX11 due to an integer overflow within the XCreateImage() function. This flaw allows a local user to trigger an integer overflow and execute arbitrary code with elevated privileges.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the heap.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- libx11< 2:1.6.2-1ubuntu2.1+esm5 | < 2:1.6.3-1ubuntu2.2+esm4 | < 2:1.6.4-3ubuntu0.4+esm2 | < 2:1.6.9-2ubuntu1.6 | < 2:1.7.5-1ubuntu0.3 | < 2:1.8.6-1ubuntu1
- libxpm< 1:3.5.10-1ubuntu0.1+esm2 | < 1:3.5.11-1ubuntu0.16.04.1+esm2 | < 1:3.5.12-1ubuntu0.18.04.2+esm1 | < 1:3.5.12-1ubuntu0.20.04.2 | < 1:3.5.12-1ubuntu0.22.04.2 | < 1:3.5.12-1.1ubuntu1
- motifAll versions (No fix recorded)
Alpine1 product
- libx11< 1.8.7-r0
Debian1 product
- libx11< 2:1.8.4-2+deb12u2 | < 2:1.8.7-1
Fedoraproject1 product
- fedoraEOL38
Redhat1 product
- enterprise_linux8.0 | 9.0
X.org1 product
- libx11< 1.8.7
6 vendors · 8 products
References
17 links- www.openwall.com/lists/oss-security/2024/01/24/9X Transferred
- security.netapp.com/advisory/ntap-20231103-0006/X Transferred