CVE-2025-64720
A public proof of concept exists; no exploitation attested.
- Published2025-11-25
- Fixed in1.6.51
- WeaknessCWE-125
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-11-2500:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.6 | ≥ 1.6.0, < 1.6.51 | 1.6.51 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- pnggroup libpngAffected
- = >= 1.6.0, < 1.6.51no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-11-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- fltkAzure Linux:3all versions · no fixed version listedand 2 other packages
- fltkAzure Linux:2all versions · no fixed version listedand 1 other package
- java-1.8.0-openjdkTuxCare:AlmaLinux:9.6all versions · fixed in 1:1.8.0.482.b08-1.el9.alma.1.tuxcare.els1and 16 other packages
- java-1.8.0-openjdkRocky Linux:8all versions · fixed in 1:1.8.0.482.b08-1.el8
- java-1.8.0-openjdkRed Hat:enterprise_linux:9::appstreamall versions · fixed in 1:1.8.0.482.b08-1.el9and 11 other packages
- java-1.8.0-openjdkRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:1.8.0.482.b08-1.el8and 12 other packages
- java-1.8.0-openjdkMageia:9all versions · fixed in 1.8.0.482.b08-1.mga9
- java-1.8.0-openjdkAlmaLinux:9all versions · fixed in 1:1.8.0.482.b08-1.el9.alma.1and 16 other packages
143 more package ranges on OSV.dev
Vendor advisories
libpng: LIBPNG buffer overflow
java-21-openjdk-portable.src as a component of Red Hat build of OpenJDK 11 ELS · java-21-openjdk-portable.src as a component of Red Hat build of OpenJDK 17 · java-21-openjdk-portable-rhel7.src as a component of Red Hat build of OpenJDK 21 · +23 more
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: java-1.8.0-openjdk security update
Red Hat Security Advisory: java-25-openjdk security update
Red Hat Security Advisory: OpenJDK 25.0.2 Security Update for Portable Linux Builds
23 more advisories
Fix
- Update Libpng to 1.6.51
- Vendor fix Red Hat Product Security RHSA-2026:80330 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Vendor fix Red Hat Product Security RHSA-2026:0932 · 780 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:0414 · 2 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
- Vendor fix Red Hat Product Security RHSA-2026:0322 · 57 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2026:80330 · 13 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Advisories and patches
- github.comPatch
- github.comPatch
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-11-25
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01dantsco/CVE-2025-64720-PoC
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2025-11-25
- CNACVSS 3.17.1known since 2026-10-23
- CNAweakness (CWE)CWE-125known since 2026-10-23
- FIRST EPSSEPSS score0.4 %2026-12-03
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- ASB-A-463995203same flawAndroid Security Bulletins · CC-BY-4.0
- AZL-70847same flawAzure Linux · MIT
- AZL-70868same flawAzure Linux · MIT
- AZL-70883same flawAzure Linux · MIT
- AZL-70888same flawAzure Linux · MIT
- AZL-70921same flawAzure Linux · MIT
- AZL-70928same flawAzure Linux · MIT
- AZL-70972same flawAzure Linux · MIT
- CGA-6j37-cxwx-h5jqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-98c8-67jj-974wsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2025-199237same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-hfc7-ph9c-wcwwsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-330same flawJulia Security Advisories · CC-BY-4.0
- MINI-x2fw-4f8q-cp73same flawMinimOS · LicenseRef-unstated
- ALSA-2026:0125advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:0237advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:0238advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:0241advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:0927advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:0928advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:0932advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:0933advisory covering several CVEsAlmaLinux · MIT
- DLA-4396-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-6076-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0314advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2026-0024advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-2763advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3759advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3760advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3761advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3906advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3927advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15781-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20017-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:0125advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0210advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0211advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0212advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0216advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0234advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0237advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0238advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0241advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0251advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0313advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0321advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0322advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0323advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0847advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:0927advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- Published
- 2025-11-25
- Last modified
- 2026-10-18
- NVD status
- Analyzed
- GitHub advisory
- GHSA-hfc7-ph9c-wcww
Frequently asked questions
What is CVE-2025-64720?
Is CVE-2025-64720 actively exploited?
What is the CVSS score for CVE-2025-64720?
Running libpng? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-hfc7-ph9c-wcww
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0