CVE Catalog

CVE-2026-25646

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.96%

58th percentile - higher than 58% of all known CVEs

Summary

In LIBPNG prior to version 1.6.55, an out-of-bounds read vulnerability exists in the png_set_quantize() function. When called with no histogram and the number of colors in the palette exceeds twice the maximum supported by the display, certain palettes cause an infinite loop reading past the end of a heap buffer. The triggering images are valid per the PNG specification.

Risk Assessment

An attacker can exploit a crafted PNG image to cause application crashes or heap memory leaks, potentially exposing sensitive data.

Recommendation

Upgrade LIBPNG to version 1.6.55 or later immediately.

Other vulnerabilities in LIBPNG

See all
Original NVD description (English source)

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function is called with no histogram and the number of colors in the palette is more than twice the maximum supported by the user's display, certain palettes will cause the function to enter into an infinite loop that reads past the end of an internal heap-allocated buffer. The images that trigger this vulnerability are valid per the PNG specification. This vulnerability is fixed in 1.6.55.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS