{"id":"CVE-2026-120251","state":"PUBLISHED","title":"imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()","description":"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.","publishedAt":"2026-11-01T00:57:14.911Z","updatedAt":"2026-11-06T18:57:26.486Z","severity":{"score":6.8,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["cgohlke imagecodecs"],"affected":[{"vendor":"cgohlke","product":"imagecodecs","packageURL":"pkg:pypi/imagecodecs","defaultStatus":"unaffected","versions":[{"version":"2026.3.6","status":"affected","lessThanOrEqual":"2026.10.10","versionType":"custom"}],"repo":"https://github.com/cgohlke/imagecodecs"}],"references":["https://github.com/cgohlke/imagecodecs/issues/158","https://github.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/ccitt/ccitt.c#L1449","https://github.com/cgohlke/imagecodecs","https://www.vulncheck.com/advisories/imagecodecs-2026.3.6-through-2026.10.10-infinite-loop-via-ccittfax4-decode"],"weaknesses":["CWE-835"],"ingestedAt":"2026-11-06T19:06:06.354Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120251.json","commit":"b8ab6210a1032734f00f14def94c67d29152545b","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120251","state":"PUBLISHED","datePublished":"2026-11-01T00:57:14.911Z","dateUpdated":"2026-11-06T18:57:26.486Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-31T22:06:00.527Z"},"containers":{"cna":{"title":"imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"cgohlke","product":"imagecodecs","packageURL":"pkg:pypi/imagecodecs","defaultStatus":"unaffected","versions":[{"version":"2026.3.6","status":"affected","lessThanOrEqual":"2026.10.10","versionType":"custom"}],"repo":"https://github.com/cgohlke/imagecodecs"}],"references":[{"url":"https://github.com/cgohlke/imagecodecs/issues/158","tags":["issue-tracking"],"name":"GitHub Issue #158"},{"url":"https://github.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/ccitt/ccitt.c#L1449","tags":["technical-description"]},{"url":"https://github.com/cgohlke/imagecodecs","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/imagecodecs-2026.3.6-through-2026.10.10-infinite-loop-via-ccittfax4-decode","name":"VulnCheck Advisory: imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-01T00:57:14.911Z"},"datePublic":"2026-10-10T00:00:00.000Z","credits":[{"lang":"en","value":"Dilanka Kaushal Hewage (r3vpwnx)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/cgohlke/imagecodecs/issues/158","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-06T18:56:56.662592Z","id":"CVE-2026-120251","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-06T18:57:26.486Z"}}]}}}