Back
CVE-2025-66293
LIBPNG has an out-of-bounds read in png_image_read_composite
High7.1EPSS 0.38%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.38% · top 68% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Weakness
Affected products
References (7)
- https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f (opens in a new tab)x_refsource_CONFIRM
- https://github.com/pnggroup/libpng/issues/764 (opens in a new tab)x_refsource_MISCexploit
- https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1 (opens in a new tab)x_refsource_MISC
- https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a (opens in a new tab)x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2025/12/03/6 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/12/03/7 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/12/03/8 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-66293)Record last updated .