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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-10-10 · Modified: 2026-11-07
- Aliases: ALPINE-CVE-2023-43788, UBUNTU-CVE-2023-43788, DEBIAN-CVE-2023-43788
- Record: https://cvemate.com/vulnerability/CVE-2023-43788 · JSON: https://cvemate.com/vulnerability/CVE-2023-43788/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.381%, percentile 34.235%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libxpm (Alpine Linux): \< 3.5.17-r0
- debian libxpm (Debian): \< 1:3.5.12-1.1+deb12u1 \| \< 1:3.5.17-1
- ubuntu libxpm (Ubuntu): \< 1:3.5.10-1ubuntu0.1+esm2 \| \< 1:3.5.11-1ubuntu0.16.04.1+esm2 \| \< 1:3.5.12-1ubuntu0.18.04.2+esm1 \| \< 1:3.5.12-1ubuntu0.20.04.2 \| \< 1:3.5.12-1ubuntu0.22.04.2 \| \< 1:3.5.12-1.1ubuntu1
- ubuntu motif (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 37 \| 38 \| 39
- redhat enterprise\_linux: 8.0 \| 9.0
- x.org libxpm: \< 3.5.17

## References

- <https://access.redhat.com/errata/RHSA-2024:2146>
- <https://access.redhat.com/errata/RHSA-2024:2217>
- <https://access.redhat.com/errata/RHSA-2024:2974>
- <https://access.redhat.com/errata/RHSA-2024:3022>
- <https://access.redhat.com/security/cve/CVE-2023-43788>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2242248>
- <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>
- <https://security.alpinelinux.org/vuln/CVE-2023-43788>
- <https://ubuntu.com/security/CVE-2023-43788>
- <https://ubuntu.com/security/notices/USN-6408-1>
- <https://ubuntu.com/security/notices/USN-6408-2>
- <https://www.cve.org/CVERecord?id=CVE-2023-43788>
- <https://security-tracker.debian.org/tracker/CVE-2023-43788>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43788>

---

Data as of 2026-12-05T04:44:47.952Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
