{"id":"CVE-2023-43787","title":"Libx11: integer overflow in xcreateimage() leading to a heap overflow","summary":"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.","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-122"],"vendor":"Red Hat","product":"libX11","affected":["libX11 < 1.8.7","libX11 (all versions)","libX11 (all versions)","libX11","libX11"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-01-29T18:42:49.281830Z"},"published":"2023-10-10","updated":"2026-11-07","sourceUpdated":"2026-11-07T11:32:45.568Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-43787","references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2145","label":"RHSA-2024:2145"},{"url":"https://access.redhat.com/errata/RHSA-2024:2973","label":"RHSA-2024:2973"},{"url":"https://access.redhat.com/security/cve/CVE-2023-43787"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2242254","label":"RHBZ#2242254"}],"tags":["cve.org"],"epss":0.00475,"epssPercentile":0.41291,"ingestedAt":"2026-11-07T12:16:41.109Z","slug":"CVE-2023-43787","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `libX11 < 1.8.7`\n- `libX11 (all versions)`\n- `libX11 (all versions)`\n- `libX11`\n- `libX11`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}