CVE-2023-43787
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.
Description as published by the source, in English.
Key facts
- Published
- 2023-10-10
- Last modified
- 2026-11-07
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 35 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fedoraproject | Fedora | 38 | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux | 9.0 | Affected |
| X.org | Libx11 | < 1.8.7 | Affected |
Weakness type
-
CWE-190: Integer Overflow or Wraparound
The 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 i…
-
CWE-122: Heap-based Buffer Overflow
The product writes past the end of a buffer that was allocated on the heap.
References
- https://access.redhat.com/security/cve/CVE-2023-43787
- https://bugzilla.redhat.com/show_bug.cgi?id=2242254
- https://access.redhat.com/security/cve/CVE-2023-43787
- https://bugzilla.redhat.com/show_bug.cgi?id=2242254
- https://access.redhat.com/errata/RHSA-2024:2145
- https://access.redhat.com/errata/RHSA-2024:2973
- 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://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/
Related at Berigo
Articles
-
F5 issues out-of-band update for two critical NGINX flaws
Same product
2026-06-18
Two NGINX vulnerabilities can be triggered remotely without authentication to restart worker processes, with possible code execution.
-
Arbitrary file overwrite vulnerability in FreeBSD
Same product
2026-06-06
CVE-2026-45257 in FreeBSD kernel TLS lets a local user with read access overwrite a file's contents, enabling privilege escalation.
-
Red Hat npm Miasma credential-stealing campaign
Same product
2026-06-05
32 npm packages under @redhat-cloud-services were modified with malware that steals cloud, SSH and AI tool credentials and spreads to further package…
-
Compromised npm packages steal developer and CI/CD secrets
Same product
2026-06-01
A new supply chain campaign has compromised npm packages under the @redhat-cloud-services namespace, running at install time to harvest secrets.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.