Libx11: integer overflow in xcreateimage() leading to a heap overflow

Summary

CVECVE-2023-43787
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-10 13:15:22 UTC
Updated2026-11-07 12:17:35 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.004750000 probability, percentile 0.413130000 (date 2026-11-08)

Problem Types: CWE-122 | CWE-190 | CWE-122 Heap-based Buffer Overflow


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
3.1CNACVSS7.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 38 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All
Application X.org Libx11 All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:1.6.8-8.el8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:1.7.0-9.el9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified

References

ReferenceSourceLinkTags
jfrog.com/blog/xorg-libx11-vulns-cve-2023-43786-cve-2023-43787-part-two af854a3a-2127-422b-91ae-364da2661108 jfrog.com
2242254 – (CVE-2023-43787) CVE-2023-43787 libX11: integer overflow in XCreateImage() leading to a heap overflow af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
access.redhat.com/errata/RHSA-2024:2145 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
oss-security - Re: Fwd: X.Org Security Advisory: Issues in libX11 prior to 1.8.7 & libXpm prior to 3.5.17 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
October 2023 libX11 Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
lists.debian.org/debian-lts-announce/2023/10/msg00005.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
access.redhat.com/errata/RHSA-2024:2973 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-10-05T00:00:00.000ZReported to Red Hat.
CNA2023-10-04T00:00:00.000ZMade public.

Legacy QID Mappings

  • 199797 Ubuntu Security Notification for libXpm Vulnerabilities (USN-6408-1)
  • 199800 Ubuntu Security Notification for libx11 Vulnerabilities (USN-6407-1)
  • 199821 Ubuntu Security Notification for libx11 Vulnerabilities (USN-6407-2)
  • 199853 Ubuntu Security Notification for libXpm Vulnerabilities (USN-6408-2)
  • 296108 Oracle Solaris 11.4 Support Repository Update (SRU) 66.164.1 Missing (CPUJAN2024)
  • 356439 Amazon Linux Security Advisory for libX11 : ALAS2-2023-2296
  • 356444 Amazon Linux Security Advisory for libXpm : ALAS2-2023-2295
  • 356449 Amazon Linux Security Advisory for libX11 : ALAS-2023-1859
  • 356525 Amazon Linux Security Advisory for libXpm : ALAS2023-2023-382
  • 356542 Amazon Linux Security Advisory for libX11 : ALAS2023-2023-383
  • 356545 Amazon Linux Security Advisory for libXpm : ALAS-2023-1875
  • 356979 Amazon Linux Security Advisory for libX11 : AL2012-2023-463
  • 356987 Amazon Linux Security Advisory for libXpm : AL2012-2023-471
  • 503467 Alpine Linux Security Update for libx11
  • 505891 Alpine Linux Security Update for libx11
  • 6000113 Debian Security Update for libxpm (DLA 3603-1)
  • 6000133 Debian Security Update for libx11 (DLA 3602-1)
  • 6000211 Debian Security Update for libx11 (DSA 5517-1)
  • 673510 EulerOS Security Update for libx11 (EulerOS-SA-2023-3249)
  • 673631 EulerOS Security Update for libxpm (EulerOS-SA-2024-1282)
  • 673653 EulerOS Security Update for libx11 (EulerOS-SA-2024-1150)
  • 673658 EulerOS Security Update for libx11 (EulerOS-SA-2024-1281)
  • 673663 EulerOS Security Update for libxpm (EulerOS-SA-2024-1340)
  • 673682 EulerOS Security Update for libx11 (EulerOS-SA-2024-1089)
  • 673699 EulerOS Security Update for libx11 (EulerOS-SA-2023-3310)
  • 673702 EulerOS Security Update for libxpm (EulerOS-SA-2024-1318)
  • 673769 EulerOS Security Update for libxpm (EulerOS-SA-2024-1180)
  • 673940 EulerOS Security Update for libx11 (EulerOS-SA-2023-3277)
  • 673977 EulerOS Security Update for libxpm (EulerOS-SA-2024-1200)
  • 674022 EulerOS Security Update for libx11 (EulerOS-SA-2023-3342)
  • 674040 EulerOS Security Update for libx11 (EulerOS-SA-2024-1065)
  • 691325 Free Berkeley Software Distribution (FreeBSD) Security Update for 11/libx11 Multiple Vulnerabilities (bd92f1ab-690c-11ee-9ed0-001fc69cd6dc)
  • 755028 SUSE Enterprise Linux Security Update for libX11 (SUSE-SU-2023:3963-1)
  • 755044 SUSE Enterprise Linux Security Update for libX11 (SUSE-SU-2023:3989-1)
  • 907554 Common Base Linux Mariner (CBL-Mariner) Security Update for libX11 (31322-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report