CVE-2026-120251
6.8medium
imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()
- Severity
- 6.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cgohlke imagecodecs | from 2026.3.6 up to 2026.10.10 | CVE List |
All scores
| VulnCheck | 6.8medium CVSS:4.0 | 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 |
| VulnCheck | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://github.com/cgohlke/imagecodecs/issues/158 | exploit, issue-tracking | |
| https://github.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/ccitt/ccitt.c#L1449 | technical-description | |
| https://github.com/cgohlke/imagecodecs | product | |
| https://www.vulncheck.com/advisories/imagecodecs-2026.3.6-through-2026.10.10-infinite-loop-via-ccittfax4-decode | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120251 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-120251 changed 2026-11-06 | Public domain |