medium6.8
CVE-2026-120251
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 b…
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Cgohlke | Imagecodecs | Version 2026.3.6 ≤2026.10.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-j736-6c4x-7rx7
- https://nvd.nist.gov/vuln/detail/CVE-2026-120251
- https://github.com/cgohlke/imagecodecs/issues/158
- https://github.com/cgohlke/imagecodecs
- https://github.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/ccitt/ccitt.c#L1449
- https://www.vulncheck.com/advisories/imagecodecs-2026.3.6-through-2026.10.10-infinite-loop-via-ccittfax4-decode