CVE catalog

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.

[CVE catalog]

Severity
High · CVSS 8.2
Published
Source
[NVD] · [CVE record]
EPSS
0.71% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpypy3sid8.0.1+dfsg-1fixed
Debianpypy3forky8.0.1+dfsg-1fixed
Debianpypy3trixie7.3.19+dfsg-2vulnerable
Debianpypy3bookworm7.3.11+dfsg-2+deb12u3vulnerable
Debianpython3.11bookworm3.11.2-6+deb12u8vulnerable
Debianpython3.11bookworm-security3.11.2-6+deb12u9vulnerable
Cpepypy3Not reportedNot reportedvulnerable
Cpepython3.11Not reportedNot reportedvulnerable
Alpinepython33.213.12.14-r0fixed
Alpinepython33.223.12.14-r0fixed
Alpinepython33.233.12.14-r0fixed
Alpinepython33.243.14.7-r0fixed
Opensusepython314tumbleweed3.14.7-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpypy3sourcesid8.0.0+dfsg-1not yet assignedNot reported[1141534]
Debianpypy3sourceforky8.0.0+dfsg-1not yet assignedNot reported[1141534]
Debianpypy3sourcetrixie(unfixed)not yet assignedNot reported[1141534]
Debianpypy3sourcebookworm(unfixed)not yet assignedNot reported[1141534]
Debianpython3.11sourcebookworm(unfixed)not yet assignedNot reportedNot reported
Alpinepython3apk3.213.12.14-r0Not reportedALPINE-CVE-2026-11972Not reported
Alpinepython3apk3.223.12.14-r0Not reportedALPINE-CVE-2026-11972Not reported
Alpinepython3apk3.233.12.14-r0Not reportedALPINE-CVE-2026-11972Not reported
Alpinepython3apk3.243.14.7-r0Not reportedALPINE-CVE-2026-11972Not reported
Opensusepython314rpmtumbleweed3.14.7-1.1Not reportedOPENSUSE-SU-2026:11597-1Not reported

[Debian bug #1141534]

Notes

[trixie] pypy3: Minor issue [bookworm] pypy3: Minor issue; CPU DoS in tarfile._Stream.seek() looping over attacker-declared block count past EOF, needs a crafted archive opened in streaming mode [bookworm] python3.11: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [idle-python3.11]Affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • [libpython3.11]Affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • [pypy3]Affected
    Details (2)
    • 7.3.11+dfsg-2+deb12u3 · amd64 · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

    • 7.3.11+dfsg-2+deb12u3 · arm64 · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

  • [pypy3-dev]Affected

    Source package: [pypy3]

    Details (2)
    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

  • [pypy3-doc]Affected

    Source package: [pypy3]

    Details (2)
    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

  • [pypy3-lib]Affected

    Source package: [pypy3]

    Details (2)
    • 7.3.11+dfsg-2+deb12u3 · amd64 · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

    • 7.3.11+dfsg-2+deb12u3 · arm64 · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

  • Source package: [pypy3]

    Details (2)
    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

  • [pypy3-tk]Affected

    Source package: [pypy3]

    Details (2)
    • 7.3.11+dfsg-2+deb12u3 · amd64 · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

    • 7.3.11+dfsg-2+deb12u3 · arm64 · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

  • [pypy3-venv]Affected

    Source package: [pypy3]

    Details (2)
    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

    • 7.3.11+dfsg-2+deb12u3 · all · bookworm

      Affected

      nvd · pypy3 · debian · bookworm; nvd · pypy3 · debian · 12

  • [python3.11]Affected
    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • [python3.11-dbg]Affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • [python3.11-dev]Affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • [python3.11-doc]Affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · all · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

  • [python3.11-full]Affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · python3.11 · debian · bookworm; nvd · python3.11 · debian · 12

Next results

Observed:

References