CVE-2025-65018: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
CVE-2025-65018 is a high-severity flaw (CVSS 7.1) affecting libpng. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-18 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-65018?
libpng: upgrade to 1.6.51. Exact commands for each OS are on this page.
Is CVE-2025-65018 being exploited?
CVE-2025-65018 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-65018 affect?
CVE-2025-65018 affects libpng. Severity is high (CVSS 7.1). 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 sim
How urgent is CVE-2025-65018?
Priority 35/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2026-34757 MEDIUM 5.1 UPGRADE MITIGATE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-64720 HIGH 7.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-64505 MEDIUM 6.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-64506 MEDIUM 6.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-66293 HIGH 7.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network