CVE-2025-64505: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
CVE-2025-64505 is a medium-severity flaw (CVSS 6.1) affecting libpng. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2025-11-25 |
| Last modified | 2026-10-18 |
Last updated 2026-10-18 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-64505?
libpng: upgrade to 1.6.51. Exact commands for each OS are on this page.
Is CVE-2025-64505 being exploited?
CVE-2025-64505 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-64505 affect?
CVE-2025-64505 affects libpng. Severity is medium (CVSS 6.1). LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize fu
How urgent is CVE-2025-64505?
Priority 24/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-34757 MEDIUM 5.1 UPGRADE MITIGATE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-64720 HIGH 7.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-65018 HIGH 7.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-64506 MEDIUM 6.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
- CVE-2025-66293 HIGH 7.1 UPGRADE LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network