Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libpng | Libpng | < 1.6.52 |
Related Weaknesses (CWE)
References
- https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753Patch
- https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f86248Patch
- https://github.com/pnggroup/libpng/issues/764ExploitIssue TrackingPatch
- https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4fExploitVendor Advisory
- http://www.openwall.com/lists/oss-security/2025/12/03/6Mailing List
- http://www.openwall.com/lists/oss-security/2025/12/03/7Mailing List
- http://www.openwall.com/lists/oss-security/2025/12/03/8Mailing List
- https://github.com/pnggroup/libpng/issues/764ExploitIssue TrackingPatch
FAQ
What is CVE-2025-66293?
CVE-2025-66293 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 libp...
How severe is CVE-2025-66293?
CVE-2025-66293 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-66293?
Check the references section above for vendor advisories and patch information. Affected products include: Libpng Libpng.