Vulnerability · Published Oct 10, 2023 · Assigned by redhat

CVE-2023-43786Libx11: stack exhaustion from infinite recursion in putsubimage()

Medium 5.5

In plain English

A medium-severity uncontrolled resource consumption in libXpm. 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). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.5%top 58.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

A vulnerability was found in libX11 due to an infinite loop within the PutSubImage() function. This flaw allows a local user to consume all available system resources and cause a denial of service condition.

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-43786
Alpine:v3.21libx111.8.7-r0ALPINE-CVE-2023-43786
Alpine:v3.22libx111.8.7-r0ALPINE-CVE-2023-43786
Alpine:v3.23libx111.8.7-r0ALPINE-CVE-2023-43786
Alpine:v3.24libx111.8.7-r0ALPINE-CVE-2023-43786
Debian:12libx112:1.8.4-2+deb12u2DSA-5517-1
Debian:12libx112:1.8.4-2+deb12u2DEBIAN-CVE-2023-43786
Debian:13libx112:1.8.7-1DEBIAN-CVE-2023-43786
Debian:14libx112:1.8.7-1DEBIAN-CVE-2023-43786
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-43786
Ubuntu:22.04:LTSlibx112:1.7.5-1ubuntu0.3USN-6407-1
Ubuntu:24.04:LTSlibx112:1.8.6-1ubuntu1UBUNTU-CVE-2023-43786
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-43786
Ubuntu:24.04:LTSlibxpm1:3.5.12-1.1ubuntu1UBUNTU-CVE-2023-43786
Ubuntu:22.04:LTSmotifno fix listedUBUNTU-CVE-2023-43786
Ubuntu:24.04:LTSmotifno fix listedUBUNTU-CVE-2023-43786
Ubuntu:25.10motifno fix listedUBUNTU-CVE-2023-43786
Ubuntu:26.04:LTSmotifno fix listedUBUNTU-CVE-2023-43786
Ubuntu:26.10motifno fix listedUBUNTU-CVE-2023-43786

Affected products (as reported)

VendorProductVersions
libXpm 0 – before 3.5.17
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-400 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References