BSD Ports

libXpm -- Out-of-bounds read in xpmNextWord()

· CVE-2026-4367 · VuXML entry

The X.Org project reports: libXpm uses a number of internal helper functions to parse the XPM file format. One of these internal functions, xpmNextString(), checks for the NULL terminator when looking for the end of the current string but not when looking for the beginning of the next string. A small XPM file with a malformed color table definition may cause the function xpmNextWord(), called from xpmParseColors() …

Affected versions

By system

1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlyx11/libXpm3.5.17_1 vulnerable since 2026-04-27
MidnightBSDx11/libXpm3.5.20 out of range, by version
FreeBSDx11/libXpm3.5.20 fixed (174 days after)