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

Published May 15, 2026
·
Updated

Last updated 18 August 2026

Other sources

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.

— MITRE

Affected Software

4 affected componentsFixes available
OpenPNG libpng-apng=1.8.0
debian/libpng1.6
1.6.37-4
ubuntu/libpng1.6<1.6.37-2ubuntu0.1~esm3
1.6.37-2ubuntu0.1~esm3
ubuntu/libpng1.6<1.6.37-3ubuntu0.6
1.6.37-3ubuntu0.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.37-4
  2. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.37-2ubuntu0.1~esm3
  3. Upgrade

    Upgrade ubuntu/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.37-3ubuntu0.6
  4. Upgrade

    Upgrade libpng-apng to a version that resolves this vulnerability.

    Patch CVE-2026-40930
  5. Upgrade

    Upgrade libpng-apng to a version that resolves this vulnerability.

    Patch faf06924688b62d7c1654b5ceddedbde66ffadb4

Event History

Jun 4, 2026
CVE Published
via MITRE·02:34 PM
Data Sourced
via MITRE·02:34 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:02 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·04:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness

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