{"id":"CVE-2023-43787","summary":"Libx11: integer overflow in xcreateimage() leading to a heap overflow","details":"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.","modified":"2026-08-12T03:51:23.787715867Z","published":"2023-10-10T12:26:08.102Z","related":["ALSA-2024:2145","ALSA-2024:2973","SUSE-SU-2023:3963-1","SUSE-SU-2023:3989-1","SUSE-SU-2024:2453-1","openSUSE-SU-2024:13296-1"],"database_specific":{"cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43787.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/01/24/9"},{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2145"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2973"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-43787"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43787.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43787"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20231103-0006/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2242254"},{"type":"PACKAGE","url":"https://gitlab.freedesktop.org/xorg/lib/libx11"},{"type":"ARTICLE","url":"https://jfrog.com/blog/xorg-libx11-vulns-cve-2023-43786-cve-2023-43787-part-two/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.freedesktop.org/xorg/lib/libx11","events":[{"introduced":"0"},{"fixed":"c745719e23af44a4b40ab4508447637b35d91a1e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.8.7"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:*"}}],"versions":["libX11-1.8.6","libX11-1.8.5","libX11-1.8.4","libX11-1.8.3","libX11-1.8.2","libX11-1.8.1","libX11-1.8","libX11-1.7.5","libX11-1.7.4","libX11-1.7.3.1","libX11-1.7.3","libX11-1.7.2","libX11-1.7.1","libX11-1.7.0","libX11-1.6.12","libX11-1.6.11","libX11-1.6.10","libX11-1.6.9","libX11-1.6.8","libX11-1.6.7","libX11-1.6.6","libX11-1.6.5","libX11-1.6.4","libX11-1.6.3","libX11-1.6.2","libX11-1.6.1","libX11-1.6.0","libX11-1.5.99.902","libX11-1.5.99.901","libX11-1.5.0","libX11-1.4.99.902","libX11-1.4.99.901","libX11-1.4.99.1","libX11-1.4.4","libX11-1.4.3","libX11-1.4.2","libX11-1.4.1","libX11-1.4.0","libX11-1.3.99.903","libX11-1.3.99.902","libX11-1.3.99.901","libX11-1.3.4","libX11-1.3.3","libX11-1.3.2","libX11-1.3.1","libX11-1.3","libX11-1.2.99.901","libX11-1.2.2","libX11-1.2.1","libX11-1.2","libX11-1.1.99.2","libX11-1.1.4","libX11-1.1.3","libX11-1.1.2","XORG-6_99_99_904","MODULAR_COPY","XORG-6_99_99_903","XORG-6_8_99_903","XORG-6_99_99_902","XORG-6_8_99_902","XORG-6_99_99_901","XORG-6_8_99_901","XORG-6_99_99_900","XORG-6_8_99_900","XORG-6_8_99_15","XORG-6_8_99_14","XORG-6_8_99_13","XORG-6_8_99_10","XORG-6_8_99_9","XORG-6_8_99_7","XORG-6_8_99_6","XORG-6_8_1","XORG-6_7_99_903","XORG-6_7_99_902","XORG-6_7_99_2","XORG-6_7_99_1","XACE-SELINUX-MERGE","XORG-MAIN"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-43787.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}