CVE Database›CVE-2025-64720

CVE-2025-64720

libpng: LIBPNG buffer overflow

Loading…

Severity

Important

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · November 25, 2025

Updated · October 16, 2026

Description

A buffer overflow flaw has been discovered in libpng. 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.

Statement

This vulnerability is rated Important for Red Hat products. An out-of-bounds read in libpng can occur when processing specially crafted palette images with PNG_FLAG_OPTIMIZE_ALPHA enabled. Successful exploitation requires a user to process a malicious PNG file, leading to potential application crash or information disclosure.

java-*-openjdk-headless packages do not contain libsplashscreen.so, hence are not affected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 7.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

CWE-125 · Out-of-bounds Read