CVE-2026-112390

published 19 Oct 2026 · updated 20 Oct 2026

Pillow: Infinite loop in MIC n_frames when the embedded TIFF

8.2HighCVSS 8.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
python-pillow>=7.2.0 <13.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112390 severity on Zeptric[![CVE-2026-112390](https://zeptric.io/badge/cve/CVE-2026-112390.svg)](https://zeptric.io/cve/CVE-2026-112390)