CVE-2026-25646

LIBPNG has a heap buffer overflow in png_set_quantize

HIGH
8.1
CVSS Score
Published: February 10, 2026 at 05:04 PM UTC
Updated: August 11, 2026 at 01:17 PM UTC
11 products affected across 3 vendorsEnterprise Linuxrhel_eusrhel_e4s

Using libpng by pnggroup?

Get instant alerts when new vulnerabilities affect libpng - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 1%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.6.55

Fix versions

  • Outside the affected range from 1.6.55
    Our inference from the affected range (< 1.6.55)

Fix versions

Fix versions

  • libpng 2:1.6.40-8.el10_0.2Red Hat Enterprise Linux AppStream EUS (v. 10.0)
  • libpng-devel 2:1.6.40-8.el10_0.2Red Hat Enterprise Linux AppStream EUS (v. 10.0)

Fix versions

Fix versions

Fix versions

Fix versions

Fix versions

Fix versions

Fix versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (57)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/02/09/7
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:10097
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:12274
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:14773
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:15087
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:16174

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-122CWE-126CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE records are from the CVE Program (CVE.org).