{"id":"CVE-2025-64720","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-64720","generatedAt":"2026-10-28T01:19:47.815Z","title":"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.","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, 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.","published":"2025-11-25T00:15:47.000Z","lastModified":"2026-10-18T20:10:00.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"},"cwe":["CWE-125"],"affected":["libpng/libpng"],"epss":{"score":0.00447,"percentile":0.38607,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.45%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/pnggroup/libpng/issues/686","tags":["Exploit","Issue Tracking"],"source":"security-advisories@github.com"},{"url":"https://github.com/pnggroup/libpng/pull/751","tags":["Issue Tracking","Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww","tags":["Exploit","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww","tags":["Exploit","Vendor Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-64720","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}