Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2025-8194 →
Unrated

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process...

UBUNTU-CVE-2025-8194 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSpython2.7
< 2.7.6-8ubuntu0.6+esm26→ 2.7.6-8ubuntu0.6+esm26
Ubuntu:Pro:14.04:LTSpython3.4
< 3.4.3-1ubuntu1~14.04.7+esm16→ 3.4.3-1ubuntu1~14.04.7+esm16
Ubuntu:Pro:14.04:LTSpython3.5
< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7→ 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7
Ubuntu:Pro:16.04:LTSpython2.7
< 2.7.12-1ubuntu0~16.04.18+esm17→ 2.7.12-1ubuntu0~16.04.18+esm17
Ubuntu:Pro:16.04:LTSpython3.5
< 3.5.2-2ubuntu0~16.04.13+esm19→ 3.5.2-2ubuntu0~16.04.13+esm19
Ubuntu:Pro:18.04:LTSpython2.7
< 2.7.17-1~18.04ubuntu1.13+esm12→ 2.7.17-1~18.04ubuntu1.13+esm12
Ubuntu:Pro:18.04:LTSpython3.6
< 3.6.9-1~18.04ubuntu1.13+esm6→ 3.6.9-1~18.04ubuntu1.13+esm6
Ubuntu:Pro:18.04:LTSpython3.7
< 3.7.5-2ubuntu1~18.04.2+esm7→ 3.7.5-2ubuntu1~18.04.2+esm7
Ubuntu:Pro:18.04:LTSpython3.8
< 3.8.0-3ubuntu1~18.04.2+esm6→ 3.8.0-3ubuntu1~18.04.2+esm6
Ubuntu:Pro:20.04:LTSpython3.8
< 3.8.10-0ubuntu1~20.04.18+esm2→ 3.8.10-0ubuntu1~20.04.18+esm2
Ubuntu:Pro:20.04:LTSpython3.9
< 3.9.5-3ubuntu0~20.04.1+esm6→ 3.9.5-3ubuntu0~20.04.1+esm6
Ubuntu:22.04:LTSpython3.10
< 3.10.12-1~22.04.11→ 3.10.12-1~22.04.11
Ubuntu:Pro:22.04:LTSpython2.7
< 2.7.18-13ubuntu1.5+esm7→ 2.7.18-13ubuntu1.5+esm7
Ubuntu:Pro:22.04:LTSpython3.11
< 3.11.0~rc1-1~22.04.1~esm5→ 3.11.0~rc1-1~22.04.1~esm5
Ubuntu:24.04:LTSpython3.12
< 3.12.3-1ubuntu0.8→ 3.12.3-1ubuntu0.8
Ubuntu:25.10python3.13
< 3.13.6-1→ 3.13.6-1
Original description The description as published by the source.

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the “tarfile” module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details