CVE-2026-11972

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.
CVSS

No CVSS.

Configurations

No configuration.

History

30 Jun 2026, 16:16

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9 -
  • () https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365 -
  • () https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21 -
  • () https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec -
  • () https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192 -
  • () https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896 -

24 Jun 2026, 15:16

Type Values Removed Values Added
Summary (en) 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. (en) 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.
References
  • {'url': 'https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9', 'source': 'cna@python.org'}
  • {'url': 'https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365', 'source': 'cna@python.org'}
  • {'url': 'https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec', 'source': 'cna@python.org'}
  • {'url': 'https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896', 'source': 'cna@python.org'}

24 Jun 2026, 13:16

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9 -
  • () https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365 -
  • () https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec -
  • () https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896 -

23 Jun 2026, 23:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 23:16

Updated : 2026-06-30 16:16


NVD link : CVE-2026-11972

Mitre link : CVE-2026-11972

CVE.ORG link : CVE-2026-11972


JSON object : View

Products Affected

No product.

CWE
CWE-252

Unchecked Return Value

CWE-606

Unchecked Input for Loop Condition

CWE-770

Allocation of Resources Without Limits or Throttling