What’s Vulnerable › Vulnerabilities
CVE-2023-43787: Libx11: integer overflow in xcreateimage() leading to a heap overflow
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-10-10 · updated 2026-06-17
- Weakness: CWE-122
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.
Affected products
- Fedoraproject Fedora: 38
- Red Hat Enterprise Linux: 8.0, 9.0
- x.org libX11: before 1.8.7 — fixed in 1.8.7
How to fix
Upgrade to a fixed version: x.org libX11 1.8.7. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:2145
- https://access.redhat.com/errata/RHSA-2024:2973
- https://access.redhat.com/security/cve/CVE-2023-43787
- https://bugzilla.redhat.com/show_bug.cgi?id=2242254
- http://www.openwall.com/lists/oss-security/2024/01/24/9
- https://access.redhat.com/errata/RHSA-2024:2145
- https://access.redhat.com/errata/RHSA-2024:2973
- https://access.redhat.com/security/cve/CVE-2023-43787
- https://bugzilla.redhat.com/show_bug.cgi?id=2242254
- https://jfrog.com/blog/xorg-libx11-vulns-cve-2023-43786-cve-2023-43787-part-two/
- https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html
- https://security.netapp.com/advisory/ntap-20231103-0006/
Get alerted when CVE-2023-43787 or the next vulnerability affects your stack