CVE-2025-66293: LIBPNG has an out-of-bounds read in png_image_read_composite
Vulnerability summary
CVE-2025-66293 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in libpng. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 34% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 12Timeline
- 03-12-2025PublishedVulnerability first disclosed.
- 04-12-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLibpng
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse2 products
- libpng16&distro=SUSE Linux Enterprise Server 12 SP5-LTSS< 1.6.8-15.12.1
- libpng16&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 1.6.8-15.12.1
Alpine1 product
- libpng< 1.6.53-r0
Chainguard1 product
- libpng< 1.6.52-r0
Debian1 product
- libpng1.6< 1.6.39-2+deb12u1 | < 1.6.48-1+deb13u1 | < 1.6.52-1
Libpng1 product
- libpng< 1.6.52
Mageia1 product
- libpng< 1.6.38-1.2.mga9
Opensuse1 product
- libpng16&distro=openSUSE Tumbleweed< 1.6.52-1.1
Pnggroup1 product
- libpng< 1.6.52
Ubuntu1 product
- libpng1.6< 1.6.20-2ubuntu0.1~esm3 | < 1.6.34-1ubuntu0.18.04.2+esm2 | < 1.6.37-2ubuntu0.1~esm2 | < 1.6.37-3ubuntu0.3 | < 1.6.43-5ubuntu0.3 | < 1.6.50-1ubuntu0.3
Wolfi1 product
- libpng< 1.6.52-r0
10 vendors · 11 products
References
21 links- github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4fX Refsource CONFIRMREPORTAdvisoryExploitVendor Advisory