CVE-2025-65018

HIGH

Libpng < 1.6.51 - Out-of-Bounds Write

Title source: rule

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.

Exploits (2)

nomisec WORKING POC 9 stars
by Neo-Neo6 · poc
https://github.com/Neo-Neo6/CVE-2025-65018-Heap-buffer-overflow-in-libpng-ps4-ps5-
nomisec WORKING POC
by bohemian-miser · poc
https://github.com/bohemian-miser/CVE-2025-65018_Exploit_Challenge

Scores

CVSS v3 7.1
EPSS 0.0005
EPSS Percentile 15.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Details

CWE
CWE-122 CWE-787
Status published
Products (1)
libpng/libpng 1.6.0 - 1.6.51
Published Nov 25, 2025
Tracked Since Feb 18, 2026