DEBIAN-CVE-2025-4517
Record from OSV · Published June 3, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pypy3 | Debian:14 | 7.3.20+dfsg-2 |
| python3.13 | Debian:14 | 3.13.4-1 |
| python3.13 | Debian:13 | 3.13.4-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | pypy3 | 7.3.19+dfsg-2, 7.3.20+dfsg-1, 0 |
| Debian:13 | pypy3 | 7.3.20+dfsg-4, 7.3.21+dfsg-1, 7.3.21+dfsg-2 |
| Debian:12 | pypy3 | 7.3.17+dfsg-2, 7.3.17+dfsg-3, 7.3.18+dfsg-1 |
| Debian:14 | python3.13 | 0 |
| Debian:13 | python3.13 | 0 |
Timeline
- Jun 3, 2025 CVE Published
- Sep 1, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-4517
vulnetix vdb fixes DEBIAN-CVE-2025-4517
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-4517/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart