CVE 5.4 MEDIUM

LIBPNG: Chunk smuggling in push-mode APNG parser via unconsumed chunk body_CVE-2026-40930

5.4 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

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.

Basic Information

ID CVE-2026-40930
Source GitHub_M
Published Jun 4, 2026 at 14:34
Modified Jun 4, 2026 at 15:05

Affected Product

Vendor pnggroup
Product libpng
Version = 1.8.0
Affected Versions pnggroup libpng = 1.8.0
pnggroup libpng-apng >= 1.6.49, <= 1.6.57

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.