CVE 8.3 HIGH

LIBPNG has a heap buffer overflow in png_set_quantize_CVE-2026-25646

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

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.

Basic Information

ID CVE-2026-25646
Source GitHub_M
Published Feb 10, 2026 at 17:04
Modified Feb 10, 2026 at 17:25

Affected Product

Vendor pnggroup
Product libpng
Version < 1.6.55
Affected Versions pnggroup libpng < 1.6.55

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.