CVE-2026-11972
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- v4.0•HIGH•Score: 8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.45%• Percentile: 38%
Techniques & Countermeasures
- CWE-252•Unchecked Return Value
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.
- CWE-606•Unchecked Input for Loop Condition
The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
- CWE-770•Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected Systems
- alpine•python3
< 3.12.14-r0 | < 3.12.14-r0 | < 3.12.14-r0 | < 3.14.7-r0
- chainguard•python-3.10
< 3.10.20-r10
- chainguard•python-3.11
< 3.11.15-r8
- chainguard•python-3.12
< 3.12.13-r10
- chainguard•python-3.13
< 3.13.14-r2
- chainguard•python-3.14
< 3.14.6-r3
- wolfi•python-3.10
< 3.10.20-r10
- wolfi•python-3.11
< 3.11.15-r8
- wolfi•python-3.12
< 3.12.13-r10
- wolfi•python-3.13
< 3.13.14-r2
- wolfi•python-3.14
< 3.14.6-r3
- debian•pypy3
all | all | all | all
- debian•python2.7
all
- debian•python3.11
all
- debian•python3.13
all | all | < 3.13.5-2+deb13u5 | < 3.13.15-1
- debian•python3.14
all | < 3.14.7-1
- debian•python3.9
all
- ubuntu•python2.7
all
- ubuntu•python3.10
all
- ubuntu•python3.11
all | all
- ubuntu•python3.12
all
- ubuntu•python3.13
all
- ubuntu•python3.14
all | all
- ubuntu•python3.4
all
- ubuntu•python3.5
all
- ubuntu•python3.6
all
- ubuntu•python3.7
all
- ubuntu•python3.8
all
- ubuntu•python3.9
all
- python software foundation•cpython
< 3.16.0 | < 3.15.0 | < 3.13.15 | < 3.10.21 | ≥ 3.11.0, < 3.11.16 | ≥ 3.12.0, < 3.12.14 | ≥ 3.13.0, < 3.13.15 | ≥ 3.14.0, < 3.14.7 | ≥ 3.15.0a1, < 3.15.0b4
- redhat•python3.11
< 0:3.11.15-4.4.hum1
- redhat•python3.12
< 0:3.12.13-3.3.hum1
- redhat•python3.13
< 0:3.13.14-1.2.hum1
- redhat•python3.14
< 0:3.14.6-1.2.hum1
References (29)
- https://github.com/python/cpython/issues/151981
- https://github.com/python/cpython/pull/151982
- https://mail.python.org/archives/list/security-announce@python.org/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/
- 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
- https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21
- https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192
- https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438
- https://access.redhat.com/errata/RHSA-2026:35806
- https://access.redhat.com/security/cve/CVE-2026-11972
- https://access.redhat.com/security/updates/classification/
- https://images.redhat.com/
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_35806.json
- https://bugzilla.redhat.com/show_bug.cgi?id=2492050
- https://www.cve.org/CVERecord?id=CVE-2026-11972
- https://nvd.nist.gov/vuln/detail/CVE-2026-11972
- https://access.redhat.com/errata/RHSA-2026:35807
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_35807.json
- https://access.redhat.com/errata/RHSA-2026:35812
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_35812.json
- https://access.redhat.com/errata/RHSA-2026:35813
- https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_35813.json
- https://ubuntu.com/security/CVE-2026-11972
- https://security-tracker.debian.org/tracker/CVE-2026-11972
- https://security.alpinelinux.org/vuln/CVE-2026-11972
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11972.json
- https://github.com/python/cpython