CVE-2026-96642
mediumPillow is a Python imaging library.
Vendor / product: Python — pillow
Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0.
CVSS
6.5
6.5 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-10-21 21:20
Modified: 2026-10-30 17:17
NVD status: Modified
Last synced 1 day ago
Verified against the source API 2026-11-03 07:34 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
python / pillow <13.0.0
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://github.com/python-pillow/Pillow/commit/19b695fdcc5eddc37374e2b1645fc4185edaf71d security-advisories@github.com
- https://github.com/python-pillow/Pillow/pull/10012 security-advisories@github.com
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 security-advisories@github.com
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-3j72-p6qg-6xp7 security-advisories@github.com
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-3j72-p6qg-6xp7 134c704f-9b21-4f2e-91b3-4a467353bcc0
Data sources
NVD CVE API 2.0 — fetched 2026-11-03 07:34 UTC · record ↗

