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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-04 · Modified: 2026-06-04
- Aliases: ALPINE-CVE-2026-40930, MGASA-2026-0205, RHSA-2026:20356, UBUNTU-CVE-2026-40930, DEBIAN-CVE-2026-40930
- Record: https://cvemate.com/vulnerability/CVE-2026-40930 · JSON: https://cvemate.com/vulnerability/CVE-2026-40930/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- EPSS: 0.202%, percentile 10.744%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libpng (Alpine Linux): \< 1.6.59-r0 \| \< 1.6.58-r1
- debian libpng1.6 (Debian): \< 1.6.37-4
- ubuntu libpng1.6 (Ubuntu): \< 1.6.37-2ubuntu0.1~esm3 \| \< 1.6.37-3ubuntu0.6
- mageia libpng (Mageia): \< 1.6.38-1.6.mga9
- pnggroup libpng: = 1.8.0
- pnggroup libpng-apng: ≥ 1.6.49, ≤ 1.6.57
- redhat libpng (Red Hat): \< 0:1.6.58-1.hum1
- redhat libpng-devel (Red Hat): \< 0:1.6.58-1.hum1
- redhat libpng-static (Red Hat): \< 0:1.6.58-1.hum1
- redhat libpng-tools (Red Hat): \< 0:1.6.58-1.hum1

## References

- <https://github.com/pnggroup/libpng/security/advisories/GHSA-c4v6-gxrq-6g2x>
- <https://github.com/pnggroup/libpng/commit/faf06924688b62d7c1654b5ceddedbde66ffadb4>
- <http://www.openwall.com/lists/oss-security/2026/05/15/21>
- <https://security.alpinelinux.org/vuln/CVE-2026-40930>
- <https://advisories.mageia.org/MGASA-2026-0205.html>
- <https://bugs.mageia.org/show_bug.cgi?id=35542>
- <https://www.openwall.com/lists/oss-security/2026/04/09/2>
- <https://lists.debian.org/debian-security-announce/2026/msg00174.html>
- <https://www.openwall.com/lists/oss-security/2026/05/15/21>
- <https://access.redhat.com/errata/RHSA-2026:20356>
- <https://images.redhat.com/>
- <https://access.redhat.com/security/cve/CVE-2026-40930>
- <https://access.redhat.com/security/updates/classification/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_20356.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2484837>
- <https://www.cve.org/CVERecord?id=CVE-2026-40930>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40930>
- <https://ubuntu.com/security/CVE-2026-40930>
- <https://ubuntu.com/security/notices/USN-8639-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-40930>

---

Data as of 2026-12-05T03:16:34.696Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
