CVE-2025-65018

HIGH
Published Nov 25, 2025 Modified Nov 26, 2025 CWE-122 CWE-787

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.

Is your site exposed to CVE-2025-65018?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.1
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Weakness Type (CWE)

CWE-122 CWE-122
CWE-787 Out-of-bounds Write

Affected Products

Vendor Product
libpng libpng

References

Frequently Asked Questions

What is CVE-2025-65018? +
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. It has a CVSS v3.1 base score of 7.1 (HIGH).
How severe is CVE-2025-65018? +
CVE-2025-65018 has a CVSS v3.1 score of 7.1 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2025-65018? +
CVE-2025-65018 affects products from libpng, specifically: libpng. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-65018? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-65018 — free, no signup required.