High severity · published Oct 10, 2023
CVE-2023-43787
Libx11: integer overflow in xcreateimage() leading to a heap overflow
7.8
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Enterprise Linux 6 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: vendor
EL
Enterprise Linux · Redhat
8.0; 9.0 · source: NVD
FE
Fedora · Fedoraproject
38 · source: NVD
LI
Libx11 · X.org
before 1.8.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-43787
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-43787
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:2145
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:2973
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2023-43787
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2242254
www.openwall.com
http://www.openwall.com/lists/oss-security/2024/01/24/9
jfrog.com
https://jfrog.com/blog/xorg-libx11-vulns-cve-2023-43786-cve-2023-43787-part-two/
More from Red Hat Enterprise Linux 6
8.8
CVE-2025-31277
Apple Multiple Products Buffer Overflow Vulnerability
7.5
CVE-2026-34486
Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor
10.0
CVE-2026-4692
Sandbox escape in the Responsive Design Mode component
10.0
CVE-2026-4689
Sandbox escape due to incorrect boundary conditions, integer overflow in the XPCOM component
10.0
CVE-2026-4688
Sandbox escape due to use-after-free in the Disability Access APIs component
