Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-66293

LIBPNG has an out-of-bounds read in png_image_read_composite
Back to all
CVE

CVE-2025-66293

LIBPNG has an out-of-bounds read in png_image_read_composite

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 pngsRGBbase[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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

http://www.openwall.com/lists/oss-security/2025/12/03/6, http://www.openwall.com/lists/oss-security/2025/12/03/7, http://www.openwall.com/lists/oss-security/2025/12/03/8, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66293.json, https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1, https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a, https://github.com/pnggroup/libpng/issues/764, https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f, https://nvd.nist.gov/vuln/detail/CVE-2025-66293

Severity

7.1

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.1
EPSS Probability
0.00085%
EPSS Percentile
0.25073%
Introduced Version
0
Fix Available
fbed16182b92eeb3a06d96e49f0836d450318098,a05a48b756de63e3234ea6b3b938b8f5f862484a,0:1.6.34-1.el8_10,2:1.6.34-9.el8_10,2:1.6.37-12.el9_7.1,1.6.39-2+deb12u1,1.6.37-3+deb11u1,1.6.48-1+deb13u1,1.6.52,1.6.53-r0,0:140.6.0-1.amzn2.0.1,2:1.6.37-10.amzn2023.0.8,0:140.6.0-1.amzn2023.0.1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading