CVE-2025-66293

HIGH CVSS 3.1: 7.1 EPSS 0.38%
Updated Oct 18, 2026
Pnggroup
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions before 1.6.52
Fixed In 1.6.52
Type CWE-125 (Out-of-bounds Read)
Vendor Pnggroup
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libpng Libpng
cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*
— 1.6.52