CVE-2025-64506: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network
CVE-2025-64506 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. From version 1.6.0 to before 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_write_image_8bit function when processing 8-bit images through the simplified write API with convert_to_8bit enabled. The vulnerability affects 8-bit grayscale+alpha, RGB/RGBA, and images with incomplete row data
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.1% (top 96%) |
| 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-64506?
libpng: upgrade to 1.6.51. Exact commands for each OS are on this page.
Is CVE-2025-64506 being exploited?
CVE-2025-64506 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-64506 affect?
CVE-2025-64506 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. From version 1.6.0 to before 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_wr
How urgent is CVE-2025-64506?
Priority 22/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-64505 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