Back

MEDIUM

LIBPNG: Chunk smuggling in push-mode APNG parser via unconsumed chunk body

Published Jun 4, 2026

Description

LIBPNG is a reference library for use in applications that process PNG (Portable Network Graphics) raster image files. In version 1.8.0, three inter-frame chunk discard paths in the push-mode APNG parser clear the chunk-header flag without consuming the chunk body and CRC, allowing attacker-controlled bytes inside an ignored ancillary chunk to be reinterpreted as a fresh chunk header on the next call to `png_process_data`. Commit faf06924688b62d7c1654b5ceddedbde66ffadb4 fixes the issue.

Affected products

Remediation

Red Hat 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.

Red Hat 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.

Weaknesses (2)

References (8)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Jun 4, 2026
Updated Jun 4, 2026
Reserved Apr 15, 2026
CISA Vulnrichment
Updated Jun 4, 2026
NVD
Status Awaiting Analysis
Modified Jul 22, 2026
Red Hat
Severity Moderate
Public date Jun 4, 2026
ENISA EUVD
Assigner GitHub_M
Published Jun 4, 2026
Updated Jun 4, 2026
Exploited since n/a
EUVD-2026-34287