tarfile opened in streaming mode mishandles EOF
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-11972US | — | — | ||
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. | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9WEB
- https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365WEB
- https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21WEB
- https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdecWEB
- https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192WEB
- https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896WEB
- https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438WEB
- https://github.com/python/cpython/issues/151981WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan