Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-25646

LIBPNG has a heap buffer overflow in png_set_quantize
Back to all
CVE

CVE-2026-25646

LIBPNG has a heap buffer overflow in png_set_quantize

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 pngsetquantize() 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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.3
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

http://www.openwall.com/lists/oss-security/2026/02/09/7, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25646.json, https://github.com/pnggroup/libpng/commit/01d03b8453eb30ade759cd45c707e5a1c7277d88, https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3, https://nvd.nist.gov/vuln/detail/CVE-2026-25646

Severity

0

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
0
EPSS Probability
0.00063%
EPSS Percentile
0.19254%
Introduced Version
0
Fix Available
c3e304954a9cfd154bc0dfbfea2b01cd61d6546d,1.6.39-2+deb12u3,1.6.37-3+deb11u2,1.6.48-1+deb13u3,0:1.6.43-5ubuntu0.5,0:1.6.34-1ubuntu0.18.04.2+esm2,0:1.6.37-2ubuntu0.1~esm2,0:1.6.37-3ubuntu0.4,1.6.55,1.6.55-r0,2:1.6.37-12.el9_7.2,0:1.5.30-14.el9_7.1,2:1.5.13-8.amzn2.0.7,2:1.6.37-10.amzn2023.0.11

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading