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.
Published: 2026-11-01
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service via infinite loop
Action: Patch Immediately
AI Analysis

Impact

The vulnerability in imagecodecs allows an attacker to cause an infinite loop in the ccittfax4_decode() routine by sending a specially crafted CCITT Group 4 stream missing the end-of-file marker. This loop consumes CPU indefinitely and will eventually terminate the affected process, resulting in a denial of service condition. The weakness corresponds to CWE-835. The impact is limited to the process that performs the decode and does not leak data or provide remote code execution.

Affected Systems

The affected product is the imagecodecs package released by cgohlke, with vulnerable versions from 2026.3.6 through 2026.10.10. Any system that imports or uses this package may be impacted.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. EPSS is not available, so the precise likelihood of exploitation is unclear, and the vulnerability is not listed in the CISA KEV catalog. Attackers can supply a malicious input to ccittfax4_decode() or the Ccittfax4 codec, triggering the infinite loop; no special permissions or elevated privileges are required beyond the process’s normal runtime.

Generated by OpenCVE AI on November 1, 2026 at 02:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade imagecodecs to a version later than 2026.10.10
  • If an upgrade is not possible, refrain from using ccittfax4_decode() and the Ccittfax4 codec or validate input streams before decoding
  • Implement process-level CPU usage controls or fail-safe mechanisms to terminate long-running decode operations

Generated by OpenCVE AI on November 1, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 01 Nov 2026 01:00:00 +0000

Type Values Removed Values Added
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.
Title imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode()
Weaknesses CWE-835
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-01T00:57:14.911Z

Reserved: 2026-10-31T22:06:00.527Z

Link: CVE-2026-120251

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-01T01:17:19.110

Modified: 2026-11-01T01:17:19.110

Link: CVE-2026-120251

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-01T02:30:18Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')