VDB

CVE-2025-64505

CVE-2025-64505 PUBLISHED CVSS 6.1 MEDIUM

Reported by github_m · Published November 24, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libpngAmazon Linux2:1.6.37-10.amzn2023.0.7
thunderbirdAmazon Linux140.4.0-1.amzn2.0.3
libpng-staticAmazon Linux2:1.6.37-10.amzn2023.0.7, 2:1.5.13-8.amzn2.0.6
libpng-toolsAmazon Linux2:1.6.37-10.amzn2023.0.7
firefoxAmazon Linux140.5.0-1.amzn2023.0.2
libpng12-develAmazon Linux1.2.50-10.amzn2.0.3
libpng-develAmazon Linux2:1.6.37-10.amzn2023.0.7, 2:1.5.13-8.amzn2.0.6
libpnglibpng1.6.51

Risk scores

CVSS 3.1
6.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Affected products

VendorProductVersions
pnggrouplibpng< 1.6.51
amazon:2023libpng0
amazon:2thunderbird0
amazon:2libpng-static0
amazon:2023libpng-tools0
amazon:2023firefox0
amazon:2libpng12-devel0
amazon:2023libpng-static0
amazon:2023libpng-devel0
amazon:2libpng-devel0
pnggrouplibpng0
chainguardlibpng0
amazon:2libpng120
wolfilibpng0
alpinelibpng0, 0
amazon:2libpng0

Timeline

  • Nov 23, 2025 CVE Published
  • Nov 25, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (70 in total, the first dated here)
  • Sep 16, 2026 Distribution Patch (29 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-64505
vulnetix vdb fixes CVE-2025-64505

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-64505/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›