Out-of-bounds read in libXpm - CVE-2026-4367

 

Out-of-bounds read in libXpm - CVE-2026-4367

Published: April 22, 2026


Vulnerability identifier: #VU126829
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-4367
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: xorg.freedesktop.org
Affected software:
libXpm

Detailed vulnerability description

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.


How to mitigate CVE-2026-4367

Install security update from vendor's website.

Sources