Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer()
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- 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-125 and the CVSS impact.
Summary
A vulnerability was found in libXpm due to a boundary condition within the XpmCreateXpmImageFromBuffer() function. This flaw allows a local attacker to trigger an out-of-bounds read error and read the contents of memory on the system.
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 | — | 3.5.12-11.el8 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 2.3.4-20.el8 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 3.5.13-10.el9 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 2.3.4-28.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 |
| 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 3.5.12-11.el8 Patch available CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 2.3.4-20.el8 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 3.5.13-10.el9 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 2.3.4-28.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
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:x.org:libxpm:*:*:*:*:*:*:*:* | before 3.5.17 | Vulnerable | x.org |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* | 39 | Vulnerable | Fedoraproject |
| 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:a:x.org:libxpm:*:*:*:*:*:*:*:* Versions before 3.5.17 Vulnerable ·x.org
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject
- 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
Remediation
- Fix · CNA libXpm Fixed in 3.5.17
Red Hat 4 advisories
- RHSA-2024:3022 Released 2024-05-22 · Red Hat rating Moderatemotif security update
- Red Hat Enterprise Linux AppStream (v. 8) motif-2.3.4-20.el8, motif-devel-2.3.4-20.el8, motif-static-2.3.4-20.el8
- RHSA-2024:2974 Released 2024-05-22 · Red Hat rating ModeratelibXpm security update
- Red Hat Enterprise Linux AppStream (v. 8) libXpm-3.5.12-11.el8, libXpm-devel-3.5.12-11.el8
- RHSA-2024:2217 Released 2024-04-30 · Red Hat rating Moderatemotif security update
- Red Hat Enterprise Linux AppStream (v. 9) motif-2.3.4-28.el9, motif-devel-2.3.4-28.el9
Show 1 more Red Hat advisories
- RHSA-2024:2146 Released 2024-04-30 · Red Hat rating ModeratelibXpm security update
- Red Hat Enterprise Linux AppStream (v. 9) libXpm-3.5.13-10.el9, libXpm-devel-3.5.13-10.el9
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:2146
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-23480 Libxpm: out of bounds read on xpm with corrupted colormapPriority LOW 25
- Advisory ·
Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 and 2 more products — RHSA-2024:2217
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-23480 Libxpm: out of bounds read on xpm with corrupted colormapPriority LOW 25
Show 2 more groups
- Advisory ·
Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 and 2 more products — RHSA-2024:2974
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-23480 Libxpm: out of bounds read on xpm with corrupted colormapPriority LOW 25
- Advisory ·
Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 and 2 more products — RHSA-2024:3022
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-23480 Libxpm: out of bounds read on xpm with corrupted colormapPriority LOW 25
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:2974, RHSA-2024:3022 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:2146, RHSA-2024:2217 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-43788
- 2026-10-03 Alias added: GHSA-vg9m-f99j-3qwm
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-43788 · CVE Program
- CVE-2023-43788 · NVD
- FIRST EPSS
- GHSA-vg9m-f99j-3qwm · GitHub Advisory Database · CC BY 4.0
- CVE-2023-43788 · 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