Arbitrary writes via tarfile realpath overflow
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Python Software Foundation | CPython | unaffected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | |||
| python3.12-0:3.12.9-2.el10_0.2 | cpe:/o:redhat:enterprise_linux:10.0 | RHSA-2025:10140 | 2025-07-01T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| python3.11-0:3.11.13-1.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:10026 | 2025-07-01T00:00:00Z |
| python3.12-0:3.12.11-1.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:10031 | 2025-07-01T00:00:00Z |
| python3-0:3.6.8-70.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2025:10128 | 2025-07-01T00:00:00Z |
| python3-0:3.6.8-70.el8_10 | cpe:/o:redhat:enterprise_linux:8 | RHSA-2025:10128 | 2025-07-01T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | |||
| python3-0:3.6.8-47.el8_6.8 | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2025:10484 | 2025-07-07T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Extended Update Support EXTENSION | |||
| python3-0:3.6.8-47.el8_6.8 | cpe:/a:redhat:rhel_eus_long_life:8.6 | RHSA-2025:10484 | 2025-07-07T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | |||
| python3-0:3.6.8-47.el8_6.8 | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2025:10484 | 2025-07-07T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | |||
| python3-0:3.6.8-47.el8_6.8 | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2025:10484 | 2025-07-07T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support EXTENSION | |||
| python3-0:3.6.8-51.el8_8.10 | cpe:/a:redhat:rhel_eus_long_life:8.8 | RHSA-2025:10602 | 2025-07-08T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | |||
| python3-0:3.6.8-51.el8_8.10 | cpe:/a:redhat:rhel_tus:8.8 | RHSA-2025:10602 | 2025-07-08T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | |||
| python3-0:3.6.8-51.el8_8.10 | cpe:/a:redhat:rhel_e4s:8.8 | RHSA-2025:10602 | 2025-07-08T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| python3.9-0:3.9.21-2.el9_6.1 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:10136 | 2025-07-01T00:00:00Z |
| python3.11-0:3.11.11-2.el9_6.1 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:10148 | 2025-07-01T00:00:00Z |
| python3.12-0:3.12.9-1.el9_6.1 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:10189 | 2025-07-02T00:00:00Z |
| python3.9-0:3.9.21-2.el9_6.1 | cpe:/o:redhat:enterprise_linux:9 | RHSA-2025:10136 | 2025-07-01T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Extended Update Support | |||
| python3.12-0:3.12.1-4.el9_4.6 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:10028 | 2025-07-01T00:00:00Z |
| python3.9-0:3.9.18-3.el9_4.8 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:10399 | 2025-07-07T00:00:00Z |
| python3.11-0:3.11.7-1.el9_4.8 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:9918 | 2025-06-30T00:00:00Z |
| Vendor | Product | Versions |
|---|---|---|
| Python | Cpython | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-16736 | Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links. |
Ubuntu USN |
USN-7583-1 | Python vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.5% (1.480% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:rhel_e4s:8.8 cpe:/a:redhat:rhel_eus_long_life:8.8 cpe:/a:redhat:rhel_tus:8.8 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Aus
Redhat rhel E4s Redhat rhel Eus Long Life Redhat rhel Tus |
|
| CPEs | cpe:/a:redhat:rhel_aus:8.6 cpe:/a:redhat:rhel_e4s:8.6 cpe:/a:redhat:rhel_eus_long_life:8.6 cpe:/a:redhat:rhel_tus:8.6 |
|
| Vendors & Products |
Redhat rhel Aus
Redhat rhel E4s Redhat rhel Eus Long Life Redhat rhel Tus |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:9 cpe:/o:redhat:enterprise_linux:10.0 cpe:/o:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:9 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat enterprise Linux
|
|
| CPEs | cpe:/a:redhat:enterprise_linux:8 | |
| Vendors & Products |
Redhat enterprise Linux
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat rhel Eus |
|
| CPEs | cpe:/a:redhat:rhel_eus:9.4 | |
| Vendors & Products |
Redhat
Redhat rhel Eus |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier versions don't include the extraction filter feature. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links. | Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links. |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier versions don't include the extraction filter feature. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links. | |
| Title | Arbitrary writes via tarfile realpath overflow | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|