CVE-2026-11972Published Jun 23, 2026 · Jun 23Updated Nov 11
tarfile opened in streaming mode mishandles EOF
Python Software Foundation CPython
High8.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Python Software Foundation CPython |
| No fix yet |
Original description
When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.