CVE-2025-65018

HIGH CVSS 3.1: 7.1 EPSS 0.28%
Updated Oct 18, 2026
Libpng
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions 1.6.0 — 1.6.51
Fixed In 1.6.51
Type CWE-787 (Out-of-bounds Write), CWE-122 (Heap-based Buffer Overflow)
Vendor Libpng
Public PoC No

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From version 1.6.0 to before 1.6.51, there is a heap buffer overflow vulnerability in the libpng simplified API function png_image_finish_read when processing 16-bit interlaced PNGs with 8-bit output format. Attacker-crafted interlaced PNG files cause heap writes beyond allocated buffer bounds.

This issue has been patched in version 1.6.51.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

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

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libpng Libpng
cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*
1.6.0 1.6.51