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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libX11 | 1.6.8-8.el8 | ALSA-2024:2973 |
| AlmaLinux:9 | libX11 | 1.7.0-9.el9 | ALSA-2024:2145 |
| AlmaLinux:8 | libX11-common | 1.6.8-8.el8 | ALSA-2024:2973 |
| AlmaLinux:9 | libX11-common | 1.7.0-9.el9 | ALSA-2024:2145 |
| AlmaLinux:8 | libX11-devel | 1.6.8-8.el8 | ALSA-2024:2973 |
| AlmaLinux:9 | libX11-devel | 1.7.0-9.el9 | ALSA-2024:2145 |
| AlmaLinux:8 | libX11-xcb | 1.6.8-8.el8 | ALSA-2024:2973 |
| AlmaLinux:9 | libX11-xcb | 1.7.0-9.el9 | ALSA-2024:2145 |
| Alpine:v3.20 | libx11 | 1.8.7-r0 | ALPINE-CVE-2023-43786 |
| Alpine:v3.21 | libx11 | 1.8.7-r0 | ALPINE-CVE-2023-43786 |
| Alpine:v3.22 | libx11 | 1.8.7-r0 | ALPINE-CVE-2023-43786 |
| Alpine:v3.23 | libx11 | 1.8.7-r0 | ALPINE-CVE-2023-43786 |
| Alpine:v3.24 | libx11 | 1.8.7-r0 | ALPINE-CVE-2023-43786 |
| Debian:12 | libx11 | 2:1.8.4-2+deb12u2 | DSA-5517-1 |
| Debian:12 | libx11 | 2:1.8.4-2+deb12u2 | DEBIAN-CVE-2023-43786 |
| Debian:13 | libx11 | 2:1.8.7-1 | DEBIAN-CVE-2023-43786 |
| Debian:14 | libx11 | 2:1.8.7-1 | DEBIAN-CVE-2023-43786 |
| Rocky Linux:8 | libX11 | 0:1.6.8-8.el8 | RLSA-2024:2973 |
| Rocky Linux:9 | libX11 | 0:1.7.0-9.el9 | RLSA-2024:2145 |
| Ubuntu:22.04:LTS | libx11 | 2:1.7.5-1ubuntu0.3 | UBUNTU-CVE-2023-43786 |
| Ubuntu:22.04:LTS | libx11 | 2:1.7.5-1ubuntu0.3 | USN-6407-1 |
| Ubuntu:24.04:LTS | libx11 | 2:1.8.6-1ubuntu1 | UBUNTU-CVE-2023-43786 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.2 | USN-6408-1 |
| Ubuntu:22.04:LTS | libxpm | 1:3.5.12-1ubuntu0.22.04.2 | UBUNTU-CVE-2023-43786 |
| Ubuntu:24.04:LTS | libxpm | 1:3.5.12-1.1ubuntu1 | UBUNTU-CVE-2023-43786 |
| Ubuntu:22.04:LTS | motif | no fix listed | UBUNTU-CVE-2023-43786 |
| Ubuntu:24.04:LTS | motif | no fix listed | UBUNTU-CVE-2023-43786 |
| Ubuntu:25.10 | motif | no fix listed | UBUNTU-CVE-2023-43786 |
| Ubuntu:26.04:LTS | motif | no fix listed | UBUNTU-CVE-2023-43786 |
| Ubuntu:26.10 | motif | no fix listed | UBUNTU-CVE-2023-43786 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- RHSA-2024:2145 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2973 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-43786 vdb-entry, x_refsource_REDHAT
- RHBZ#2242253 issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2024/01/24/9 x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63IBRFLQVZSMOAZBZOBKFWJP26ILRAGQ/ x_transferred
- https://security.netapp.com/advisory/ntap-20231103-0006/ x_transferred
- https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html