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

Published May 15, 2026
·
Updated

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 pngprocessdata. Commit faf06924688b62d7c1654b5ceddedbde66ffadb4 fixes the issue.

Affected Software

1 affected component
libpng LIBPNG=1.8.0

Event History

Jun 4, 2026
CVE Published
via MITRE·02:34 PM
Data Sourced
via MITRE·02:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40930?

The severity of CVE-2026-40930 is rated as medium with a CVSS score of 5.4.

2

How do I fix CVE-2026-40930?

To fix CVE-2026-40930, upgrade to the latest version of libpng that includes the patch for the vulnerability.

3

What type of vulnerability is CVE-2026-40930?

CVE-2026-40930 is a chunk smuggling vulnerability in the push-mode APNG parser of libpng.

4

What are the potential impacts of CVE-2026-40930?

The potential impacts of CVE-2026-40930 include possible denial of service attacks due to improper handling of image files.

5

Which versions of libpng are affected by CVE-2026-40930?

CVE-2026-40930 affects libpng version 1.8.0 and possibly later versions if unpatched.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203