CVE Explorer
CVE-2025-64505
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"libpng","vendor":"pnggroup","versions":[{"status":"affected","version":"< 1.6.51"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a15c2eb45dd51c86672c0c219b2ee88ccb20441274bd7175b033e6ba0dfb695e · sha256:0ce1936dc865d74c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a15c2eb45dd51c86672c0c219b2ee88ccb20441274bd7175b033e6ba0dfb695e · sha256:0ce1936dc865d74c… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a15c2eb45dd51c86672c0c219b2ee88ccb20441274bd7175b033e6ba0dfb695e · sha256:0ce1936dc865d74c… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37","tags":["x_refsource_MISC"],"url":"https://github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a15c2eb45dd51c86672c0c219b2ee88ccb20441274bd7175b033e6ba0dfb695e · sha256:0ce1936dc865d74c… · /containers/cna/references/2
{"name":"https://github.com/pnggroup/libpng/pull/748","tags":["x_refsource_MISC"],"url":"https://github.com/pnggroup/libpng/pull/748"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a15c2eb45dd51c86672c0c219b2ee88ccb20441274bd7175b033e6ba0dfb695e · sha256:0ce1936dc865d74c… · /containers/cna/references/1
{"name":"https://github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a15c2eb45dd51c86672c0c219b2ee88ccb20441274bd7175b033e6ba0dfb695e · sha256:0ce1936dc865d74c… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.