CVE-2026-25646 Details
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.
A heap buffer overflow vulnerability has been identified in libpng versions prior to 1.6.55, specifically within the low-level png_set_quantize() API function. This vulnerability arises when the function is called without a histogram and the palette size exceeds twice the maximum colors supported by the user's display. Under these conditions, certain palettes can cause the function to enter an infinite loop, reading past the end of a heap-allocated buffer. The vulnerability has existed since the function's introduction, under the name png_set_dither(). Exploitation can lead to a denial-of-service condition, causing a crash, or potentially allow for information disclosure or arbitrary code execution through heap corruption.
Users are advised to upgrade to libpng version 1.6.55, which addresses the vulnerability by correcting the logic in the png_set_quantize() function to prevent out-of-bounds reads.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
| CWE-125 | Out-of-bounds Read | redhat-SADP |
| CWE-126 | Buffer Over-read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libpng libpng | < 1.6.55 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 11, 2026 | CVE Modified | redhat-SADP |
| Jul 23, 2026 | CVE Modified | redhat-SADP |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 13, 2026 | Initial Analysis | [email protected] |
| Feb 11, 2026 | CVE Modified | CISA-ADP |
| Feb 10, 2026 | New CVE Received | [email protected] |
| Feb 10, 2026 | CVE Modified | CVE |