CVE-2023-43787
Libx11: integer overflow in xcreateimage() leading to a heap overflow
- State
- Published
- Severity
- 7.8 High
- Published
- Oct 10, 2023
- Updated
- Nov 6, 2025
- Reserved
- Sep 22, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
libX11 |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 7Red Hat |
References
- RHSA-2024:2145vendor-advisory
- RHSA-2024:2973vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-43787vdb-entry
- RHBZ#2242254issue-tracking
- http://www.openwall.com/lists/oss-security/2024/01/24/9
- https://jfrog.com/blog/xorg-libx11-vulns-cve-2023-43786-cve-2023-43787-part-two/
- https://security.netapp.com/advisory/ntap-20231103-0006/
- https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.