CVE-2026-40930
libpng: libpng: Data integrity and availability impact due to improper APNG chunk handling
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 4, 2026
Updated · September 5, 2026
Description
A flaw was found in libpng, a library used for processing PNG (Portable Network Graphics) image files. In version 1.8.0, a remote attacker could provide a specially crafted APNG (Animated Portable Network Graphics) file. This flaw allows attacker-controlled data within an ignored chunk to be reinterpreted as a new chunk header, leading to a low impact on data integrity and availability. This could result in unexpected application behavior or a denial of service.
Statement
This Moderate flaw in libpng allows a remote attacker to cause a denial of service or unexpected application behavior. By processing a specially crafted Animated Portable Network Graphics (APNG) file, vulnerable applications may misinterpret attacker-controlled data as a new chunk header, leading to resource exhaustion or crashes.
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 · 5.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CWE-1288 · Improper Validation of Consistency within Input