CVE-2025-66293

LIBPNG has an out-of-bounds read in png_image_read_composite

HIGH
7.1
CVSS Score
Published: December 3, 2025 at 08:33 PM UTC
Updated: October 18, 2026 at 05:10 PM UTC
2 products affected across 2 vendorsLibpngLibpng

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
HIGH7.1
Exploit prediction
EPSS 0.4%
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.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.

Affected

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

v < 1.6.52
v < 1.6.52
Affected range stops below 1.6.52, so it looks safe — our inference, not a vendor statement

References (7)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f
x_refsource_MISCExploitIssue TrackingPatch
Source: cverecord
https://github.com/pnggroup/libpng/issues/764
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2025/12/03/6
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2025/12/03/7
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2025/12/03/8

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

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

CVSS

7.1HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-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