CVE-2026-112390 Pillow: Infinite loop in MIC n_frames when the embedded TIFF

High 8.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-112390?

CVE-2026-112390 is a high-severity vulnerability in Python Pillow, published on 19 Oct 2026.

Official description

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.

Weakness: CWE-835

Which versions are affected by CVE-2026-112390?

3 open source packages ship an affected version, including pillow and Pillow. It affects 1 product.

PackageAffectedFixed in
pillow BitnamiFrom 7.2.013.0.0
pillow PyPIFrom 7.2.013.0.0
Pillow PyPIFrom 7.2.013.0.0

Products include Python Pillow.

How do I fix CVE-2026-112390?

Upgrade pillow to 13.0.0 or later.

Is CVE-2026-112390 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-112390 exists.

All Python Pillow vulnerabilities

Sources

Also known as BIT-pillow-2026-112390, DEBIAN-CVE-2026-112390, ECHO-1372-62ab-2170, GHSA-22hg-r758-rrw9, ROOT-APP-PYPI-CVE-2026-112390, UBUNTU-CVE-2026-112390.

Is CVE-2026-112390 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free