# CVE-2026-120251: imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-01T00:57:14.911Z
- Modified: 2026-11-06T19:17:42.463Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- cgohlke imagecodecs: from 2026.3.6 up to 2026.10.10

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## 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

- CVE List: [CVE-2026-120251](https://www.cve.org/CVERecord?id=CVE-2026-120251), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-120251](https://nvd.nist.gov/vuln/detail/CVE-2026-120251), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-120251 · Whole record: https://cve.day/CVE-2026-120251.json · Rebuilt by cve.day 2026-11-25T22:59:48.087Z
