CVE-2026-25646

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*

History

13 Feb 2026, 20:43

Type Values Removed Values Added
First Time Libpng
Libpng libpng
References () https://github.com/pnggroup/libpng/commit/01d03b8453eb30ade759cd45c707e5a1c7277d88 - () https://github.com/pnggroup/libpng/commit/01d03b8453eb30ade759cd45c707e5a1c7277d88 - Patch
References () https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 - () https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 - Exploit, Vendor Advisory
References () http://www.openwall.com/lists/oss-security/2026/02/09/7 - () http://www.openwall.com/lists/oss-security/2026/02/09/7 - Mailing List
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.1
CPE cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*

11 Feb 2026, 16:16

Type Values Removed Values Added
References () https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 - () https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 -

10 Feb 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-10 18:16

Updated : 2026-02-13 20:43


NVD link : CVE-2026-25646

Mitre link : CVE-2026-25646

CVE.ORG link : CVE-2026-25646


JSON object : View

Products Affected

libpng

  • libpng
CWE
CWE-122

Heap-based Buffer Overflow

CWE-126

Buffer Over-read