{"id":"CVE-2026-40930","summary":"LIBPNG: Chunk smuggling in push-mode APNG parser via unconsumed chunk body","details":"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.","aliases":["GHSA-c4v6-gxrq-6g2x"],"modified":"2026-07-15T02:19:48.591921585Z","published":"2026-06-04T14:34:51.843Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-436"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40930.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"= 1.8.0"},{"last_affected":"= 1.8.0"}]}]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/05/15/21"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40930.json"},{"type":"ADVISORY","url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-c4v6-gxrq-6g2x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40930"},{"type":"FIX","url":"https://github.com/pnggroup/libpng/commit/faf06924688b62d7c1654b5ceddedbde66ffadb4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pnggroup/libpng","events":[{"introduced":"640204280f8109d7165f95d2b177f89baf20b253"},{"fixed":"faf06924688b62d7c1654b5ceddedbde66ffadb4"}],"database_specific":{"extracted_events":[{"introduced":"1.6.49"},{"last_affected":"1.6.57"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40930.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"}]}