CVE-2025-64720
Last modified
CVE-2025-64720 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libpng | Libpng | >= 1.6.0, < 1.6.51 |
References
- https://github.com/pnggroup/libpng/issues/686Exploit, Issue Tracking
- https://github.com/pnggroup/libpng/pull/751Issue Tracking, Patch
- https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcwwExploit, Vendor Advisory
- https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcwwExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64720?
How severe is CVE-2025-64720?
How do I fix CVE-2025-64720?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-64715Cilium is a networking, observability, and security solution…5.5
- CVE-2025-64716Anubis is a Web AI Firewall Utility that challenges users' c…5.1
- CVE-2025-64717ZITADEL is an open source identity management platform. Star…9.8
- CVE-2025-64718js-yaml is a JavaScript YAML parser and dumper. In js-yaml b…5.3
- CVE-2025-64719Gogs is an open source self-hosted Git service. Prior to 0.1…4.9
- CVE-2025-6472A vulnerability, which was classified as critical, has been …9.8
- CVE-2025-64721Sandboxie is a sandbox-based isolation software for 32-bit a…10
- CVE-2025-64723Arduino IDE is an integrated development environment. Prior …4.4
- CVE-2025-64724Arduino IDE is an integrated development environment. Prior …7.3
- CVE-2025-64725Weblate is a web based localization tool. In versions prior …9.8
- CVE-2025-64726Socket Firewall is an HTTP/HTTPS proxy server that intercept…7.3
- CVE-2025-64729The vulnerability, if exploited, could allow an authenticate…8.2
Are you affected by CVE-2025-64720?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
