# CVE-2025-58438: internetarchive: internetarchive is a Python and Command-Line Interface to Archive.org In versions 5.5.0 and below, there is a directo...

CVE-2025-58438 is fixed in 3 products on 1 platform, first by internetarchive 1.9.0-3ubuntu0.1~esm1, released September 6, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-58438
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0160
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 6, 2025

## Description

internetarchive is a Python and Command-Line Interface to Archive.org In versions 5.5.0 and below, there is a directory traversal (path traversal) vulnerability in the File.download() method of the internetarchive library. The file.download() method does not properly sanitize user-supplied filenames or validate the final download path. A maliciously crafted filename could contain path traversal sequences (e.g., ../../../../windows/system32/file.txt) or illegal characters that, when processed, would cause the file to be written outside of the intended target directory. An attacker could potentially overwrite critical system files or application configuration files, leading to a denial of service, privilege escalation, or remote code execution, depending on the context in which the library is used.  The vulnerability is particularly critical for users on Windows systems, but all operating systems are affected. This issue is fixed in version 5.5.1.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | internetarchive Ubuntu 20.04 LTS (focal) | 1.9.0-3ubuntu0.1~esm1 | [internetarchive 1.9.0-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-internetarchive-1.9.0-3ubuntu0.1-esm1.md) | Sep 6, 2025 |
| Linux | internetarchive Ubuntu 22.04.1 LTS (jammy) | 1.9.9-1ubuntu0.1 | [internetarchive 1.9.9-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-internetarchive-1.9.9-1ubuntu0.1.md) | Sep 6, 2025 |
| Linux | internetarchive Ubuntu 24.04.5 LTS (noble) | 3.5.0-1ubuntu0.1~esm1 | [internetarchive 3.5.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-internetarchive-3.5.0-1ubuntu0.1-esm1.md) | Sep 6, 2025 |
| Linux | internetarchive Ubuntu 25.10 (questing) | 5.4.0-1ubuntu0.1 | [internetarchive 5.4.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-internetarchive-5.4.0-1ubuntu0.1.md) | Sep 6, 2025 |
| Linux | python-internetarchive Debian 11.6 (bullseye) | 1.9.9-1+deb11u1 | [DLA-4314-1](https://patchblox.com/security/data/fix/linux/dla-4314-1.md) | Sep 30, 2025 |
| Linux | python-internetarchive Debian 12.15 (bookworm) | 3.3.0-2~deb12u1 | [DSA-6035-1](https://patchblox.com/security/data/fix/linux/dsa-6035-1.md) | Oct 23, 2025 |
| Linux | python-internetarchive Debian 13.5 (trixie) | 5.4.0-2~deb13u1 | [DSA-6035-1](https://patchblox.com/security/data/fix/linux/dsa-6035-1.md) | Oct 23, 2025 |
| Linux | python-internetarchive Debian 14 | 5.5.1-1 | [DEBIAN-CVE-2025-58438](https://patchblox.com/security/data/fix/linux/debian-cve-2025-58438.md) | Sep 6, 2025 |
| Linux | python3-internetarchive Ubuntu 20.04 LTS (focal) | 1.9.0-3ubuntu0.1~esm1 | [python3-internetarchive 1.9.0-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-internetarchive-1.9.0-3ubuntu0.1-esm1.md) | Sep 6, 2025 |
| Linux | python3-internetarchive Ubuntu 22.04.1 LTS (jammy) | 1.9.9-1ubuntu0.1 | [python3-internetarchive 1.9.9-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-internetarchive-1.9.9-1ubuntu0.1.md) | Sep 6, 2025 |
| Linux | python3-internetarchive Ubuntu 24.04.5 LTS (noble) | 3.5.0-1ubuntu0.1~esm1 | [python3-internetarchive 3.5.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-internetarchive-3.5.0-1ubuntu0.1-esm1.md) | Sep 6, 2025 |
| Linux | python3-internetarchive Ubuntu 25.10 (questing) | 5.4.0-1ubuntu0.1 | [python3-internetarchive 5.4.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-internetarchive-5.4.0-1ubuntu0.1.md) | Sep 6, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
