{"id":"CVE-2026-120251","summary":"imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()","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.","modified":"2026-11-08T02:30:51.935490759Z","published":"2026-11-01T00:57:14.911Z","related":["openSUSE-SU-2026:12406-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120251.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-835"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cgohlke/imagecodecs","events":[{"introduced":"f47e63c4fffe44d45dca22757eafa6ec869d5bd9"},{"last_affected":"5483bfbd4406379d639b07fdd24ede55da3acaa4"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2026.3.6"},{"last_affected":"2026.10.10"}]},{"range":[{"introduced":"2026.3.6"},{"last_affected":"2026.10.10"}],"source":"DESCRIPTION"}]}}],"versions":["v2026.10.10","v2026.8.16","v2026.6.26","v2026.6.6","v2026.5.10","v2026.3.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120251.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}