CVE-2026-40930: LIBPNG: Chunk smuggling in push-mode APNG parser via unconsumed chunk body
Vulnerability summary
CVE-2026-40930 is a medium (CVSS 5.4) Interpretation Conflict vulnerability in pnggroup libpng. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.7% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 04-06-2026PublishedVulnerability first disclosed.
- 04-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- OSV · Red hatEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- OSV · DebianEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.20% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat4 products
- libpng< 0:1.6.58-1.hum1
- libpng-devel< 0:1.6.58-1.hum1
- libpng-static< 0:1.6.58-1.hum1
- libpng-tools< 0:1.6.58-1.hum1
Pnggroup2 products
- libpng= 1.8.0
- libpng-apng≥ 1.6.49, ≤ 1.6.57
Alpine1 product
- libpng< 1.6.59-r0 | < 1.6.58-r1
Debian1 product
- libpng1.6< 1.6.37-4
Mageia1 product
- libpng< 1.6.38-1.6.mga9
Ubuntu1 product
- libpng1.6< 1.6.37-2ubuntu0.1~esm3 | < 1.6.37-3ubuntu0.6
6 vendors · 10 products
References
20 links- github.com/pnggroup/libpng/security/advisories/GHSA-c4v6-gxrq-6g2xX Refsource CONFIRMAdvisoryARTICLEREPORT
Show all 20 references
- images.redhat.comARTICLE