# CVE-2023-43787: Libx11: integer overflow in xcreateimage() leading to a heap overflow

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-10-10T12:26:08.102Z
- Modified: 2026-11-07T12:17:35.787Z
- Weaknesses: CWE-122, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libX11: before 1.8.7 (not affected: from 0:1.6.8-8.el8 before *; from 0:1.7.0-9.el9 before *)
- x.org libx11: before 1.8.7
- redhat enterprise_linux: 8.0; 9.0
- fedoraproject fedora: 38

## Every score

- redhat: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:2145> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2973> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-43787> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2242254> (issue-tracking, third-party-advisory)
- <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>

## Sources

- CVE List: [CVE-2023-43787](https://www.cve.org/CVERecord?id=CVE-2023-43787), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2023-43787](https://nvd.nist.gov/vuln/detail/CVE-2023-43787), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2023-43787 · Whole record: https://cve.day/CVE-2023-43787.json · Rebuilt by cve.day 2026-11-25T22:58:28.575Z
