CVE-2025-64720: libpng Out-of-bounds Read
Vulnerability summary
CVE-2025-64720 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in libpng. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 34.5% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 35 · Related 13Timeline
- 24-11-2025PublishedVulnerability first disclosed.
- 25-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
0.00 pp
From 0.42% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundLibpng
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Redhat4 products
- libpng< 2:1.5.13-8.el7_9.1
- libpng-debuginfo< 2:1.5.13-8.el7_9.1
- libpng-devel< 2:1.5.13-8.el7_9.1
- libpng-static< 2:1.5.13-8.el7_9.1
Alpine1 product
- libpng≥ 1.6.0, < 1.6.53-r0 | ≥ 1.6.0, < 1.6.51-r0
Chainguard1 product
- libpng< 1.6.51-r0
Debian1 product
- libpng1.6< 1.6.39-2+deb12u1 | < 1.6.48-1+deb13u1 | < 1.6.51-1
Libpng1 product
- libpng≥ 1.6.0, < 1.6.51
Pnggroup1 product
- libpng≥ 1.6.0, < 1.6.51
Suse1 product
- libpng15&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 1.5.30-10.13.1
Ubuntu1 product
- libpng1.6< 1.6.20-2ubuntu0.1~esm2 | < 1.6.34-1ubuntu0.18.04.2+esm1 | < 1.6.37-2ubuntu0.1~esm1 | < 1.6.37-3ubuntu0.1 | < 1.6.43-5ubuntu0.1 | < 1.6.50-1ubuntu0.1
Wolfi1 product
- libpng< 1.6.51-r0
9 vendors · 12 products
References
20 links- github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcwwX Refsource CONFIRMARTICLEREPORTAdvisoryExploitVendor Advisory
- github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643X Refsource MISCARTICLEREPORTFIXPatch