Vulnerability · Published Oct 10, 2023 · Assigned by redhat

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

High 7.8

In plain English

A high-severity heap buffer overflow in libX11. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.5%top 58.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libX111.6.8-8.el8ALSA-2024:2973
AlmaLinux:9libX111.7.0-9.el9ALSA-2024:2145
AlmaLinux:8libX11-common1.6.8-8.el8ALSA-2024:2973
AlmaLinux:9libX11-common1.7.0-9.el9ALSA-2024:2145
AlmaLinux:8libX11-devel1.6.8-8.el8ALSA-2024:2973
AlmaLinux:9libX11-devel1.7.0-9.el9ALSA-2024:2145
AlmaLinux:8libX11-xcb1.6.8-8.el8ALSA-2024:2973
AlmaLinux:9libX11-xcb1.7.0-9.el9ALSA-2024:2145
Alpine:v3.20libx111.8.7-r0ALPINE-CVE-2023-43787
Alpine:v3.21libx111.8.7-r0ALPINE-CVE-2023-43787
Alpine:v3.22libx111.8.7-r0ALPINE-CVE-2023-43787
Alpine:v3.23libx111.8.7-r0ALPINE-CVE-2023-43787
Alpine:v3.24libx111.8.7-r0ALPINE-CVE-2023-43787
Debian:12libx112:1.8.4-2+deb12u2DSA-5517-1
Debian:12libx112:1.8.4-2+deb12u2DEBIAN-CVE-2023-43787
Debian:13libx112:1.8.7-1DEBIAN-CVE-2023-43787
Debian:14libx112:1.8.7-1DEBIAN-CVE-2023-43787
Rocky Linux:8libX110:1.6.8-8.el8RLSA-2024:2973
Rocky Linux:9libX110:1.7.0-9.el9RLSA-2024:2145
Ubuntu:22.04:LTSlibx112:1.7.5-1ubuntu0.3UBUNTU-CVE-2023-43787
Ubuntu:22.04:LTSlibx112:1.7.5-1ubuntu0.3USN-6407-1
Ubuntu:24.04:LTSlibx112:1.8.6-1ubuntu1UBUNTU-CVE-2023-43787
Ubuntu:22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.2USN-6408-1
Ubuntu:22.04:LTSlibxpm1:3.5.12-1ubuntu0.22.04.2UBUNTU-CVE-2023-43787
Ubuntu:24.04:LTSlibxpm1:3.5.12-1.1ubuntu1UBUNTU-CVE-2023-43787
Ubuntu:22.04:LTSmotifno fix listedUBUNTU-CVE-2023-43787
Ubuntu:24.04:LTSmotifno fix listedUBUNTU-CVE-2023-43787
Ubuntu:25.10motifno fix listedUBUNTU-CVE-2023-43787
Ubuntu:26.04:LTSmotifno fix listedUBUNTU-CVE-2023-43787
Ubuntu:26.10motifno fix listedUBUNTU-CVE-2023-43787

Affected products (as reported)

VendorProductVersions
libX11 0 – before 1.8.7
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References