Out-of-bounds read in libXpm - CVE-2026-4367
Published: April 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to out-of-bounds read in xpmNextWord() when parsing a malformed color table definition in an XPM file. A remote attacker can supply a specially crafted XPM file to disclose sensitive information.
User interaction is required to process the crafted XPM file.
Affected software
openEuler
Ubuntu
Anolis OS
libxpm4 (Ubuntu package)
xpmutils (Ubuntu package)
libXpm
libXpm-debuginfo
libXpm-debugsource
libXpm-devel
libXpm-help
libXpm-doc
How to mitigate CVE-2026-4367
libxpm4 (Ubuntu package) - addressed in versions 1:3.5.12-1ubuntu0.22.04.3, 1:3.5.17-1ubuntu0.24.04.1, 1:3.5.17-1ubuntu0.26.04.1
xpmutils (Ubuntu package) - addressed in versions 1:3.5.12-1ubuntu0.22.04.3, 1:3.5.17-1ubuntu0.24.04.1, 1:3.5.17-1ubuntu0.26.04.1
libXpm - update to 3.5.13-4
libXpm-debuginfo - update to 3.5.13-4
libXpm-debugsource - update to 3.5.13-4
libXpm-devel - update to 3.5.13-4
libXpm-help - update to 3.5.13-4
libXpm - update to 3.5.17-2
libXpm-devel - update to 3.5.17-2
libXpm-doc - update to 3.5.17-2