{"id":"CVE-2026-112390","published":"2026-10-19T20:35:39Z","modified":"2026-10-20T15:02:38Z","title":"Pillow: Infinite loop in MIC n_frames when the embedded TIFF","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.45429,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-22hg-r758-rrw9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/commit/26cb3ed061173b817b9ee4b6f507cb0e1e293218","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":9.09},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":[">= 7.2.0, < 13.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-20T15:00:25.751244Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Pillow","vulnerableRanges":[">=7.2.0, <13.0.0"],"patched":["13.0.0"],"from":["GHSA-22hg-r758-rrw9"],"provenance":"source"}],"summary":{"text":"Pillow, the Python imaging library, has an infinite-loop flaw in its MIC image handling, where the frame-count logic for an embedded TIFF never advances, affecting the MicImageFile component. An attacker who can supply a crafted MIC file with at least three embedded TIFF frames can cause an application that has olefile installed and reads n_frames or saves all frames to hang a worker at full CPU indefinitely, with no authentication, privileges, or user interaction required beyond the application processing the file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:11Z"},"euvd":{"id":"EUVD-2026-104598","exploited":false,"provenance":"source"}}