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 pngdoquantize 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.
{
"license": "CC-BY-4.0",
"sources": [
{
"id": "CVE-2025-64505",
"imported": "2025-11-27T03:28:04.911Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-64505",
"modified": "2025-11-26T18:28:32.220Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-64505",
"published": "2025-11-25T00:15:47.133Z"
}
]
}