CVEfocus › CVE database › CVE-2026-4367

CVE-2026-4367Libxpm: libxpm: denial of service via out-of-bounds read in xpm file parsing

CVSS 5.5 MediumEPSS 0.1% (higher than 2% of CVEs)Published 2026-06-16Updated 2026-11-24Assigner: redhat

A flaw was found in libXpm. A local user with low privileges could exploit an Out-of-Bounds Read vulnerability in the `xpmNextWord()` function by processing a specially crafted or very small XPM (X PixMap) image file. This improper validation of file boundaries can cause an internal pointer to read beyond the file's end, leading to application crashes and Denial of Service conditions.

CWE-125

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
21Fix pending
2Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10motifFix pendingUBUNTU-CVE-2026-4367
Ubuntu 26.04libxpmFixed1:3.5.17-1ubuntu0.26.04.1UBUNTU-CVE-2026-4367
Ubuntu 26.04motifFix pendingUBUNTU-CVE-2026-4367
Ubuntu 25.10libxpmWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
UBUNTU-CVE-2026-4367
Ubuntu 25.10motifWill not fix
motif contains a vendored copy of libxpm under lib/Xm/ with files prefixed by Xpm eg. the file src/parse.c in libxpm is lib/Xm/Xpmparse.c
UBUNTU-CVE-2026-4367
Ubuntu 24.04libxpmFixed1:3.5.17-1ubuntu0.24.04.1UBUNTU-CVE-2026-4367
Ubuntu 24.04motifUnder investigationUBUNTU-CVE-2026-4367
Ubuntu 22.04libxpmFixed1:3.5.12-1ubuntu0.22.04.3UBUNTU-CVE-2026-4367
Ubuntu 22.04motifUnder investigationUBUNTU-CVE-2026-4367
Ubuntu 20.04libxpmFix pendingUBUNTU-CVE-2026-4367
Ubuntu 20.04motifFix pendingUBUNTU-CVE-2026-4367
Ubuntu 18.04libxpmFix pendingUBUNTU-CVE-2026-4367
Ubuntu 18.04motifFix pendingUBUNTU-CVE-2026-4367
Ubuntu 16.04libxpmFix pendingUBUNTU-CVE-2026-4367
Ubuntu 16.04motifFix pendingUBUNTU-CVE-2026-4367
Ubuntu 14.04libxpmFix pendingUBUNTU-CVE-2026-4367
Ubuntu 14.04motifFix pendingUBUNTU-CVE-2026-4367
Debian 14libxpmFixed1:3.5.19-1DEBIAN-CVE-2026-4367
Debian 13libxpmFixed1:3.5.17-1+deb13u1DEBIAN-CVE-2026-4367
Debian 12libxpmFix pendingDEBIAN-CVE-2026-4367
Red Hat Enterprise Linux 10libXpmFix pending
Fix deferred
Red Hat Enterprise Linux 10libXpm-develFix pending
Fix deferred
Red Hat Enterprise Linux 9libXpmFix pending
Fix deferred
Red Hat Enterprise Linux 9libXpm-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libXpmFix pending
Fix deferred
Red Hat Enterprise Linux 8libXpm-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libXpmFix pending
Fix deferred
Red Hat Enterprise Linux 7libXpm-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libXpmFix pending
Fix deferred
Red Hat Enterprise Linux 6libXpm-develFix pending
Fix deferred
Alpine Linux 3.24libxpmFixed3.5.19-r0ALPINE-CVE-2026-4367
Alpine Linux 3.23libxpmFixed3.5.19-r0ALPINE-CVE-2026-4367
Alpine Linux 3.22libxpmFixed3.5.19-r0ALPINE-CVE-2026-4367
Alpine Linux 3.21libxpmFixed3.5.19-r0ALPINE-CVE-2026-4367
Alpine Linux 3.20libxpmFixed3.5.19-r0ALPINE-CVE-2026-4367

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.