CVE-2025-28164
libpng: libpng: Denial of Service via buffer overflow in png_create_read_struct() function
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 27, 2026
Updated · October 16, 2026
Description
A flaw was found in libpng. This buffer overflow vulnerability allows a local attacker to cause a denial of service (DoS) by exploiting the png_create_read_struct() function. This can lead to the affected system becoming unresponsive or crashing.
Statement
This is a MODERATE impact vulnerability affecting libpng versions 1.6.43-1.6.46. A local attacker can exploit a buffer overflow in the png_create_read_struct() function, leading to a denial of service. Exploitation requires the attacker to have local access to the system and provide a specially crafted PNG file.
For java-17-openjdk-headless and java-21-openjdk-headless, while the affected code is present in the bundled sources, it is not exercised by these headless packages.
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
To mitigate the risk of denial of service, users should avoid processing untrusted PNG image files with applications that utilize libpng. Exercise caution when opening or viewing PNG files from unknown or suspicious sources.
CVSS / CWE
CVSS 3.1 · 5CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')