CVE-2026-4367
libXpm: libXpm: Denial of Service via out-of-bounds read in XPM file parsing
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 21, 2026
Updated · July 28, 2026
Description
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.
Statement
The vulnerability is assessed as Medium severity due to its impact being limited to availability. While exploitation requires local access and low privileges, it does not require user interaction. Successful exploitation can cause applications processing XPM files to crash, which may affect batch processing systems or graphical applications. The absence of confidentiality and integrity impact reduces the overall severity, but the ease of triggering the issue still presents a reliability concern.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
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.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read