Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/pnggroup/libpng/commit/faf06924688b62d7c1654b5ceddedbde66ffad
- https://github.com/pnggroup/libpng/security/advisories/GHSA-c4v6-gxrq-6g2x
- http://www.openwall.com/lists/oss-security/2026/05/15/21
FAQ
What is CVE-2026-40930?
CVE-2026-40930 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 par...
How severe is CVE-2026-40930?
CVE-2026-40930 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40930?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.