CVE-2025-64720

7.1 HIGH
Published: November 25, 2025 Modified: November 26, 2025

Description

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From version 1.6.0 to before 1.6.51, an out-of-bounds read vulnerability exists in png_image_read_composite when processing palette images with PNG_FLAG_OPTIMIZE_ALPHA enabled. The palette compositing code in png_init_read_transformations incorrectly applies background compositing during premultiplication, violating the invariant component ≤ alpha × 257 required by the simplified PNG API. This issue has been patched in version 1.6.51.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/pnggroup/libpng/issues/686
Source: security-advisories@github.com
Exploit Issue Tracking
https://github.com/pnggroup/libpng/pull/751
Source: security-advisories@github.com
Issue Tracking Patch
https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww
Source: security-advisories@github.com
Exploit Vendor Advisory
https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Vendor Advisory

5 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.1 / 10.0
EPSS (Exploit Probability)
0.1%
17th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

libpng