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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-19T20:35:39.189Z
- Modified: 2026-10-26T08:56:03.565Z
- Also known as: GHSA-22hg-r758-rrw9, BIT-PILLOW-2026-112390
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- python-pillow Pillow: >= 7.2.0, < 13.0.0
- pillow (PyPI): from 7.2.0 before 13.0.0
- python pillow: from 7.2.0 before 13.0.0
- pillow (Bitnami): from 7.2.0 before 13.0.0

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-22hg-r758-rrw9> (exploit, advisory, patch, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/commit/26cb3ed061173b817b9ee4b6f507cb0e1e293218> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112390> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-112390](https://www.cve.org/CVERecord?id=CVE-2026-112390), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-22hg-r758-rrw9](https://github.com/advisories/GHSA-22hg-r758-rrw9), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-112390](https://nvd.nist.gov/vuln/detail/CVE-2026-112390), Public domain, modified 2026-10-23
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-112390](https://osv.dev/vulnerability/BIT-PILLOW-2026-112390), Apache-2.0, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-112390 · Whole record: https://cve.day/CVE-2026-112390.json · Rebuilt by cve.day 2026-11-25T22:59:45.933Z
