Home

Description

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.

PUBLISHED Reserved 2026-02-04 | Published 2026-02-10 | Updated 2026-02-11 | Assigner GitHub_M




HIGH: 8.3CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-122: Heap-based Buffer Overflow

CWE-126: Buffer Over-read

Product status

< 1.6.55
affected

References

www.openwall.com/lists/oss-security/2026/02/09/7

github.com/...libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 exploit

github.com/...libpng/security/advisories/GHSA-g8hp-mq4h-rqm3

github.com/...ommit/01d03b8453eb30ade759cd45c707e5a1c7277d88

cve.org (CVE-2026-25646)

nvd.nist.gov (CVE-2026-25646)

Download JSON