CVE Catalog

CVE-2026-40930

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

LIBPNG version 1.8.0 has a bug in the push-mode APNG parser: three inter-frame chunk discard paths do not consume 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.

Risk Assessment

An attacker could supply a crafted PNG image that, when processed, may cause unexpected application behavior, potentially leading to code execution or data leakage.

Recommendation

Update the LIBPNG library to a version containing commit faf06924688b62d7c1654b5ceddedbde66ffadb4 or later.

Other vulnerabilities in LIBPNG

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS