CVE-2026-120251 PUBLISHED

imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()

Assigner: VulnCheck
Reserved: 31.10.2026 Published: 01.11.2026 Updated: 01.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.8

Product Status

Vendor cgohlke
Product imagecodecs
Versions Default: unaffected
  • affected from 2026.3.6 to 2026.10.10 (incl.)

Credits

  • Dilanka Kaushal Hewage (r3vpwnx) finder

References

Problem Types

  • Loop with Unreachable Exit Condition ('Infinite Loop') CWE