VDB

CVE-2025-66293

CVE-2025-66293 PUBLISHED CVSS 7.1 HIGH

LIBPNG has an out-of-bounds read in png_image_read_composite

Reported by github_m · Published December 3, 2025

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.

Fixed versions

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

PackageEcosystemFixed in
libpngAlpine1.6.53-r0
firefoxAmazon Linux140.6.0-1.amzn2023.0.1
libpng-toolsAmazon Linux2:1.6.37-10.amzn2023.0.8
libpnglibpng1.6.52

Risk scores

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

Affected products

VendorProductVersions
pnggrouplibpng< 1.6.52
alpinelibpng0
amazon:2023firefox0
amazon:2023libpng-tools0
pnggrouplibpng0
amazon:2023libpng-static0
amazon:2thunderbird0
amazon:2023libpng0
amazon:2023libpng-devel0
wolfilibpng0
chainguardlibpng0

Timeline

  • Dec 3, 2025 CVE Published
  • Dec 4, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 4, 2025 CVE Updated
  • Mar 21, 2026 Distribution Patch (27 in total, the first dated here)
  • Mar 21, 2026 Security Advisory (74 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-66293
vulnetix vdb fixes CVE-2025-66293

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-66293/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 ›