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

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.

Published

CVSS 3.1 score 5.5 out of 10.

Related technologies

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • libxpm — Fixed in 3.5.19-r0
  • libxpm — Fixed in 3.5.19-r0
  • libxpm — Fixed in 3.5.19-r0
  • libxpm — Fixed in 3.5.19-r0
  • libxpm — Fixed in 3.5.19-r0

Source evidence