{"id":"UBUNTU-CVE-2026-40930","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.","modified":"2026-08-18T22:02:00.479967182Z","published":"2026-06-04T16:16:00Z","related":["USN-8639-1"],"upstream":["CVE-2026-40930"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40930"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-40930"},{"type":"REPORT","url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-c4v6-gxrq-6g2x"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8639-1"}],"affected":[{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.37-2ubuntu0.1~esm3"}]}],"versions":["1.6.37-1","1.6.37-2","1.6.37-2ubuntu0.1~esm1","1.6.37-2ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libpng-tools","binary_version":"1.6.37-2ubuntu0.1~esm3"},{"binary_version":"1.6.37-2ubuntu0.1~esm3","binary_name":"libpng16-16"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40930.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.37-3ubuntu0.6"}]}],"versions":["1.6.37-3build4","1.6.37-3build5","1.6.37-3ubuntu0.1","1.6.37-3ubuntu0.3","1.6.37-3ubuntu0.4","1.6.37-3ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_name":"libpng-tools","binary_version":"1.6.37-3ubuntu0.6"},{"binary_name":"libpng16-16","binary_version":"1.6.37-3ubuntu0.6"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40930.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}