CVE-2026-40930

Source
https://cve.org/CVERecord?id=CVE-2026-40930
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40930.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40930
Aliases
  • GHSA-c4v6-gxrq-6g2x
Downstream
Published
2026-06-04T14:34:51.843Z
Modified
2026-08-04T11:50:54.785391791Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-436"
    ],
    "cna_assigner": "GitHub_M",
    "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

Affected packages

Git / github.com/pnggroup/libpng

Affected ranges

Type
GIT
Repo
https://github.com/pnggroup/libpng
Events
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "1.6.49"
        },
        {
            "last_affected": "1.6.57"
        }
    ]
}

Affected versions

v1.*
v1.6.49
v1.6.50
v1.6.51
v1.6.52
v1.6.53
v1.6.54
v1.6.55
v1.6.56
v1.6.57

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40930.json"