Out-of-bounds Read Affecting libXpm-devel package, versions <0:3.5.12-9.amzn2.0.4


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-LIBXPMDEVEL-16708430
  • published16 May 2026
  • disclosed16 Jun 2026

Introduced: 16 May 2026

CVE-2026-4367  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libXpm-devel to version 0:3.5.12-9.amzn2.0.4 or higher.
This issue was patched in ALAS2-2026-3291.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libXpm-devel package and not the libXpm-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1