Infinite loop Affecting imagecodecs package, versions [2026.10.10,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-IMAGECODECS-22149962
  • published3 Nov 2026
  • disclosed1 Nov 2026
  • creditDilanka Kaushal Hewage (r3vpwnx)

Introduced: 1 Nov 2026

NewCVE-2026-120251  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for imagecodecs.

Overview

imagecodecs is an Imagecodecs is a Python library that provides block-oriented, in-memory buffer transformation, compression, and decompression functions for use in Tifffile, Czifile, Zarr, kerchunk, and other scientific image input/output packages.

Affected versions of this package are vulnerable to Infinite loop via ccitt_fax4_decode_size(), which is called by ccittfax4_decode() and the numcodecs Ccittfax4 codec. An attacker can supply an 8-byte CCITT Group 4 stream lacking an EOFB (end-of-facsimile-block) marker, causing the function to loop indefinitely and consume full CPU until the process is killed.

CVSS Base Scores

version 4.0
version 3.1