# CVE-2023-43788: Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer()

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2023-10-10T12:26:08.737Z
- Modified: 2026-11-07T05:17:48.950Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- libXpm: before 3.5.17 (not affected: from 0:3.5.12-11.el8 before *; from 0:3.5.13-10.el9 before *)
- motif: no versions given (not affected: from 0:2.3.4-20.el8 before *; from 0:2.3.4-28.el9 before *)
- x.org libxpm: before 3.5.17
- fedoraproject fedora: 37; 38; 39
- redhat enterprise_linux: 8.0; 9.0

## Every score

- redhat: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2024:2146> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2217> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2974> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3022> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-43788> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2242248> (issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63IBRFLQVZSMOAZBZOBKFWJP26ILRAGQ/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3KFUQT42R7TB4D7RISNSBQFJGLTQGUL/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFAJTBNO3PAIA6EGZR4PN62H6RLKNDTE/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6FARGWN7VWXXWPXYNEEDJLRR3EWFZ3T/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZECBCLDYUGLDSVV75ECPIBW7JXOB3747/>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html>

## Sources

- CVE List: [CVE-2023-43788](https://www.cve.org/CVERecord?id=CVE-2023-43788), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2023-43788](https://nvd.nist.gov/vuln/detail/CVE-2023-43788), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2023-43788 · Whole record: https://cve.day/CVE-2023-43788.json · Rebuilt by cve.day 2026-11-25T22:58:28.576Z
