Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-65018— LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read`

Quick assessment

Affected
pnggroup libpng
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libpng是The PNG Development Group开源的一个可对PNG图形文件实现创建、读写等操作的PNG参考库。 libpng 1.6.0版本至1.6.51之前版本存在缓冲区错误漏洞,该漏洞源于png_image_finish_read函数处理16位交错PNG时存在堆缓冲区溢出,可能导致越界写入。

CVSS 7.1 · High EPSS 0.28% · P20

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-65018

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read`
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
Vulnerability Title
libpng 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libpng是The PNG Development Group开源的一个可对PNG图形文件实现创建、读写等操作的PNG参考库。 libpng 1.6.0版本至1.6.51之前版本存在缓冲区错误漏洞,该漏洞源于png_image_finish_read函数处理16位交错PNG时存在堆缓冲区溢出,可能导致越界写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pnggroup libpng >= 1.6.0, < 1.6.51 -

II. Public POCs for CVE-2025-65018

# POC Description Source Link Shenlong Link
1 None https://github.com/Neo-Neo6/CVE-2025-65018-Heap-buffer-overflow-in-libpng-ps4-ps5- POC Details
2 None https://github.com/bohemian-miser/CVE-2025-65018_Exploit_Challenge POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 12865 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-65018

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-65018 (2)

Vendor Advisories for CVE-2025-65018 (1)

Same Patch Batch · pnggroup · 2025-11-24 · 4 CVEs total

CVE-2025-64720 7.1 HIGH LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect pale
CVE-2025-64506 6.1 MEDIUM LIBPNG is vulnerable to a heap buffer over-read in `png_write_image_8bit` with grayscale+a
CVE-2025-64505 6.1 MEDIUM LIBPNG is vulnerable to a heap buffer overflow in `png_do_quantize` via malformed palette

IV. Related Vulnerabilities