Skip to content
NewA calmer, faster ZeroHour

CVE-2026-112390

Infinite loop in Pillow MIC frame counting before 13.0.0

CVSS 4.0
8.2 high
EPSS
<1%p49
Published
·
Modified
Analyze CVE-2026-112390 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Pillow 7.2.0 through versions before 13.0.0 can loop forever while counting frames in a MIC image. MicImageFile reuses TIFF frame traversal, but tell() reports the OLE stream index and seek() resets TIFF state, so an embedded TIFF with at least three IFDs never advances. An unauthenticated attacker who gets an app that has olefile installed to read n_frames or save all frames of a crafted MIC file can pin a worker at full CPU. No confidentiality or integrity impact is described.

What to do: Upgrade Pillow to 13.0.0.

ProductAffectedFixed in
python pillow7.2.0 until 13.0.013.0.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

Pillow is a Python imaging library. From 7.2.0 until 13.0.0, Pillow can enter an infinite loop while determining the frame count of a MIC image. MicImageFile inherits TIFF frame traversal, but MicImageFile.tell reports the OLE stream index and its seek() resets TIFF frame state, so an embedded TIFF with at least three IFDs never advances. When an application with olefile installed reads n_frames or saves all frames from a crafted MIC file, the non-advancing traversal can hold a worker at full CPU indefinitely. This issue is fixed in version 13.0.0.

Vendors
python
Products
pillow
Ecosystems
pip
Weakness
CWE-835
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GHSA
GHSA-22hg-r758-rrw9 (high)

In the news

2 stories