Libx11: stack exhaustion from infinite recursion in putsubimage()
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libXpm | before 3.5.17 | 3.5.17 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 1.6.8-8.el8 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 1.7.0-9.el9 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | No fix listed | CNA |
- libXpm Vendor— Affected before 3.5.17 Fixed in 3.5.17 Patch available CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 1.6.8-8.el8 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 1.7.0-9.el9 Patch available CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:* | before 1.8.7 | Vulnerable | x.org |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
- cpe:2.3:a:x.org:libx11:*:*:*:*:*:*:*:* Versions before 1.8.7 Vulnerable ·x.org
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA libXpm Fixed in 3.5.17
Red Hat 2 advisories
- RHSA-2024:2973 Released 2024-05-22 · Red Hat rating ModeratelibX11 security update
- Red Hat Enterprise Linux AppStream (v. 8) libX11-1.6.8-8.el8, libX11-common-1.6.8-8.el8, libX11-devel-1.6.8-8.el8 +1
- RHSA-2024:2145 Released 2024-04-30 · Red Hat rating ModeratelibX11 security update
- Red Hat Enterprise Linux AppStream (v. 9) libX11-1.7.0-9.el9, libX11-common-1.7.0-9.el9, libX11-devel-1.7.0-9.el9 +1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 and 2 more products — RHSA-2024:2145
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2023-23478 Libx11: integer overflow in xcreateimage() leading to a heap overflowPriority LOW 37
- TI-2023-23476 Libx11: out-of-bounds memory access in _xkbreadkeysyms()Priority LOW 30
- Advisory ·
Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 and 2 more products — RHSA-2024:2973
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2023-23478 Libx11: integer overflow in xcreateimage() leading to a heap overflowPriority LOW 37
- TI-2023-23476 Libx11: out-of-bounds memory access in _xkbreadkeysyms()Priority LOW 30
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:2973 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:2145 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-43786
- 2026-10-03 Alias added: GHSA-35w7-h3v9-8qw4
References
More Red Hat Enterprise Linux vulnerabilities
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
Sources
- CVE-2023-43786 · CVE Program
- CVE-2023-43786 · NVD
- FIRST EPSS
- GHSA-35w7-h3v9-8qw4 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-43786 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences