Infinite loop in imagecodecs CCITT Group 4 decoder
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-835.
Summary
The imagecodecs package from cgohlke, versions 2026.3.6 through 2026.10.10, contains an infinite loop in ccitt_fax4_decode_size() (CWE-835). A crafted CCITT Group 4 stream that lacks an end-of-block marker causes the decoder to loop forever. An unauthenticated attacker who can supply input to ccittfax4_decode() or the numcodecs Ccittfax4 codec can hang the calling process at full CPU use until it is killed, and a user must interact with the application for this to occur.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for imagecodecs.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Vendor assessments
Timeline
- 2026-11-01 Threatist record created from CVE-2026-120251
- 2026-11-01 Alias added: GHSA-j736-6c4x-7rx7
- 2026-11-02 Priority changed: MEDIUM → LOW
- 2026-11-02 Affected versions changed · Red Hat
- 2026-11-02 CVSS score added · Red Hat
- 2026-11-06 CISA SSVC decision points changed
- 2026-11-06 Priority changed: LOW → MEDIUM
References
More cgohlke vulnerabilities
- TI-2026-83577 imagecodecs Stack Buffer Overflow via jpegsof3_decode() CVSS 4.0MEDIUM 6.8
Sources
- CVE-2026-120251 · CVE Program
- CVE-2026-120251 · NVD
- FIRST EPSS
- GHSA-j736-6c4x-7rx7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-120251 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences