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, an out-of-bounds read vulnerability exists in png_image_read_composite when processing palette images with PNG_FLAG_OPTIMIZE_ALPHA enabled. The palette compositing code in png_init_read_transformations incorrectly applies background compositing during premultiplication, violating the invariant component ≤ alpha × 257 required by the simplified PNG API. This issue has been patched in version 1.6.51.
CVE-2025-64720
HIGHNVD 7.1
7.1
- CVSS v3
- 7.1
- EG Score
- —
- EPSS
- —
- KEV
- Not listed
Published
November 25, 2025
Last Modified
November 26, 2025
References (5)
- security-advisories@githubhttps://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643
- security-advisories@githubhttps://github.com/pnggroup/libpng/issues/686
- security-advisories@githubhttps://github.com/pnggroup/libpng/pull/751
- security-advisories@githubhttps://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww
- 134c704f-9b21-4f2e-91b3-4a467353bcc0https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww
Frequently asked(4)
What is CVE-2025-64720?
CVE-2025-64720 is a high vulnerability published on November 25, 2025. 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, an out-of-bounds read vulnerability exists in pngimagereadcomposite when processing palette images with…
When was CVE-2025-64720 disclosed?
CVE-2025-64720 was first published in the National Vulnerability Database on November 25, 2025, with the most recent update on November 26, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2025-64720?
CVE-2025-64720 has a CVSS v3 base score of 7.1 (NVD).
How do I remediate CVE-2025-64720?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2025-64720, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-64720
Is Your Infrastructure Affected by CVE-2025-64720?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.