{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.6.49"
              },
              {
                "last_affected": "1.6.57"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "640204280f8109d7165f95d2b177f89baf20b253"
            },
            {
              "fixed": "faf06924688b62d7c1654b5ceddedbde66ffadb4"
            }
          ],
          "repo": "https://github.com/pnggroup/libpng",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c4v6-gxrq-6g2x"
  ],
  "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": [
      {
        "extracted_events": [
          {
            "introduced": "= 1.8.0"
          },
          {
            "last_affected": "= 1.8.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-40930",
  "modified": "2026-07-08T05:37:40.164771217Z",
  "published": "2026-06-04T14:34:51.843Z",
  "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"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "LIBPNG: Chunk smuggling in push-mode APNG parser via unconsumed chunk body"
}