CVE-2025-65018

LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read`

HIGH
7.1
CVSS Score
Published: November 24, 2025 at 11:50 PM UTC
Updated: October 18, 2026 at 08: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.3%
SSVC
PoC

Description

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.

Affected

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

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

References (5)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3g
x_refsource_MISCExploitIssue Tracking
Source: cverecord
https://github.com/pnggroup/libpng/issues/755
x_refsource_MISCIssue Tracking
Source: cverecord
https://github.com/pnggroup/libpng/pull/757

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

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

CVSS

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

Quick Info

StatusANALYZED
CWE
CWE-787CWE-122

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