CVE-2025-64720 | LIBPNG is vulnerable to a buffer overflow in `png_image_read_composite` via incorrect palette premultiplication

Exp

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-25 Last update: 2025-11-26 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-64720 is rated Exploit Available (50/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-64720

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-64720

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-18 0.03% 0.05% +0.02%
2 2025-11-25 0.03%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-64720

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.1 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 4.2 [email protected]

Weakness enumeration for CVE-2025-64720

OS Trackers for CVE-2025-64720

vendor priority summary link
alpine high CVE-2025-64720: 1 source package rows (libpng); 19 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 4, open 15. https://security.alpinelinux.org/vuln/CVE-2025-64720
debian not yet assigned CVE-2025-64720 not yet assigned priority: Debian including 1 source packages (libpng1.6), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-64720
gentoo high CVE-2025-64720: 1 GLSA(s) (202511-06), 1 atom(s) (media-libs/libpng); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2025-64720
redhat high https://access.redhat.com/security/cve/CVE-2025-64720
suse medium CVE-2025-64720 severity moderate: SUSE including 538 source package names (2.0.4-5.8.229:libpng16-16-1.6.34-150000.3.12.1, 2.1.3-7.76:libpng16-16-1.6.43-slfo.1.1_2.1, …), 1065 product×package rows across 319 product lines (Container private-registry/harbor-portal, Container suse/manager/5.0/x86_64/server, … (319 product lines)): Fixed 744, Known Affected 231, Known Not Affected 83, First Fixed 7. https://www.suse.com/security/cve/CVE-2025-64720/
ubuntu medium CVE-2025-64720 medium priority: Ubuntu including 5 source packages (chromium-browser, firefox, libpng, libpng1.6, thunderbird), 30 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): not-affected 13, released 8, DNE 4, needs-triage 4, ignored 1. https://ubuntu.com/security/CVE-2025-64720

Affected software / configurations for CVE-2025-64720

Vendor Product Version Raw CPE
libpng libpng >= 1.6.0, < 1.6.51 cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*

References for CVE-2025-64720

cvelogic Threat Intelligence