# CVE-2026-11972

## Summary

- **CVE ID:** CVE-2026-11972
- **Severity:** HIGH
- **CVSS Score:** 8.2 (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)
- **CWE:** CWE-252, CWE-606, CWE-770
- **Published:** Jun 23, 2026
- **Last Modified:** Aug 13, 2026

## Description

When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, meaning an archive could be parsed in an infinite loop.

## Affected Products

- Python Software Foundation — CPython (0)
- Python Software Foundation — CPython (3.15.0a1)
- Python Software Foundation — CPython (3.14.0)
- Python Software Foundation — CPython (3.11.0)
- Python Software Foundation — CPython (3.12.0)
- Python Software Foundation — CPython (3.13.0)

## References

- [CNA](https://github.com/python/cpython/issues/151981)
- [CNA](https://github.com/python/cpython/pull/151982)
- [CNA](https://mail.python.org/archives/list/security-announce@python.org/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/)
- [CNA](https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9)
- [CNA](https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365)
- [CNA](https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec)
- [CNA](https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896)
- [CNA](https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21)
- [CNA](https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192)
- [CNA](https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.45%
- **EPSS Percentile:** 37.3

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._