CVE-2025-64505
CVE-2025-64505 — LIBPNG is vulnerable to a heap buffer overflow in `png_do_quantize` via malformed palette index
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 a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.1
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.1 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-125
References
3 on the record
- github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42
x_refsource_CONFIRM
- github.com/pnggroup/libpng/pull/748
x_refsource_MISC
- github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-3055 Insufficient input validation leading to memory overreadCVSS 9.8 · CISA KEV
- CVE-2026-11645 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2025-5419 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2024-0519 Google Chromium V8 Out-of-Bounds Memory Access VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2017-5030 Google Chromium V8 Memory Corruption VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2016-1646 Google Chromium V8 Out-of-Bounds Read VulnerabilityCVSS 8.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.