{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2026.3.6"
                  },
                  {
                    "last_affected": "2026.10.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "2026.3.6"
                  },
                  {
                    "last_affected": "2026.10.10"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "f47e63c4fffe44d45dca22757eafa6ec869d5bd9"
            },
            {
              "last_affected": "5483bfbd4406379d639b07fdd24ede55da3acaa4"
            }
          ],
          "repo": "https://github.com/cgohlke/imagecodecs",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120251.json"
  },
  "details": "imagecodecs 2026.3.6 through 2026.10.10 contains an infinite loop vulnerability in ccitt_fax4_decode_size() that allows attackers to hang the calling process by supplying a crafted CCITT Group 4 stream. Attackers can provide an 8-byte G4 stream lacking EOFB to ccittfax4_decode() or the numcodecs Ccittfax4 codec, consuming full CPU until the process is killed.",
  "id": "CVE-2026-120251",
  "modified": "2026-11-08T02:30:51.935490759Z",
  "published": "2026-11-01T00:57:14.911Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120251.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120251"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/imagecodecs-2026.3.6-through-2026.10.10-infinite-loop-via-ccittfax4-decode"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/cgohlke/imagecodecs/issues/158"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cgohlke/imagecodecs"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/ccitt/ccitt.c#L1449"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()"
}