---
title: "Python tarfile module vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/python/tarfile-module
type: product
description: "Python tarfile module has 3 published CVEs, 0 in CISA KEV and 0 with public exploits."
updated: 2025-07-28
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Python tarfile module vulnerabilities

Vendor: [Python](https://radicalnotion.ai/vendor/python)

- **Published CVEs:** 3
- **In CISA KEV:** 0
- **With a public exploit:** 0
- **With a patch:** 3
- **Average CVSS:** 8.1
- **First CVE:** 2025-06-03
- **Latest CVE:** 2025-07-28

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 1 |
| High | 2 |
| Medium | 0 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 1 |
| [CWE-682](https://radicalnotion.ai/cwe/cwe-682) | Incorrect Calculation | 1 |
| [CWE-835](https://radicalnotion.ai/cwe/cwe-835) | Loop with Unreachable Exit Condition | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2025 | 3 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-8194 | Tarfile infinite loop during parsing with negative member offset | high | 7.5 | No | No | Yes |
| CVE-2025-4435 | Tarfile extracts filtered members when errorlevel=0 | high | 7.5 | No | No | Yes |
| CVE-2025-4517 | Arbitrary writes via tarfile realpath overflow | critical | 9.4 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Python tarfile module have?

Python tarfile module has 3 published CVE records since 2025.

### How many Python tarfile module CVEs are in CISA KEV?

None of Python tarfile module's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Python tarfile module vulnerabilities?

No Python tarfile module CVEs currently have a tracked public exploit in this dataset.

### What are the most common weakness types in Python tarfile module CVEs?

Python tarfile module's CVEs most often map to these CWE weakness types: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-682 (Incorrect Calculation), CWE-835 (Loop with Unreachable Exit Condition).

### How many critical Python tarfile module vulnerabilities are there?

Python tarfile module has 1 critical and 2 high-severity CVEs.

### What is the average severity of Python tarfile module CVEs?

The average CVSS base score across Python tarfile module's scored CVEs is 8.1.

## Other products from this vendor

- [CPython](https://radicalnotion.ai/vendor/python/cpython) (208 CVEs)
- [Python](https://radicalnotion.ai/vendor/python/python) (148 CVEs)
- [Pillow](https://radicalnotion.ai/vendor/python/pillow) (113 CVEs)
- [urllib3](https://radicalnotion.ai/vendor/python/urllib3) (22 CVEs)
- [requests](https://radicalnotion.ai/vendor/python/requests) (7 CVEs)
- [setuptools](https://radicalnotion.ai/vendor/python/setuptools) (5 CVEs)
- [black](https://radicalnotion.ai/vendor/python/black) (3 CVEs)
- [keyring](https://radicalnotion.ai/vendor/python/keyring) (3 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/python/tarfile-module). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
