
CVE catalog
CVE-2025-58438
The Internet Archive Python Library vulnerability
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.59% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-internetarchive | sid | 5.11.0-1 | fixed |
| Debian | python-internetarchive | forky | 5.11.0-1 | fixed |
| Debian | python-internetarchive | trixie | 5.4.0-2~deb13u1 | fixed |
| Debian | python-internetarchive | trixie-security | 5.4.0-2~deb13u1 | fixed |
| Debian | python-internetarchive | bookworm | 3.3.0-2~deb12u1 | fixed |
| Debian | python-internetarchive | bookworm-security | 3.3.0-2~deb12u1 | fixed |
| Ubuntu | python-internetarchive | noble | 3.5.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | internetarchive | noble | 3.5.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-internetarchive | noble | 3.5.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-internetarchive | pro | 3.3.0-1 | vulnerable |
| Ubuntu | python-internetarchive | pro | 3.5.0-1 | vulnerable |
| Ubuntu | python-internetarchive | pro | 3.5.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-internetarchive | 22.04 | 1.9.9-1 | vulnerable |
| Ubuntu | python-internetarchive | 22.04 | 1.9.9-1ubuntu0.1 | fixed |
| Ubuntu | python-internetarchive | 25.10 | 5.2.1-1 | vulnerable |
| Ubuntu | python-internetarchive | 25.10 | 5.3.1-1 | vulnerable |
| Ubuntu | python-internetarchive | 25.10 | 5.4.0-1 | vulnerable |
| Ubuntu | python-internetarchive | 25.10 | 5.4.0-1ubuntu0.1 | fixed |
| Ubuntu | python-internetarchive | pro | 3.3.0-1 | vulnerable |
| Ubuntu | python-internetarchive | pro | 3.5.0-1 | vulnerable |
| Ubuntu | python-internetarchive | pro | 3.5.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-internetarchive | 22.04 | 1.9.9-1 | vulnerable |
| Ubuntu | python-internetarchive | 22.04 | 1.9.9-1ubuntu0.1 | fixed |
| Ubuntu | python-internetarchive | 25.10 | 5.2.1-1 | vulnerable |
| Ubuntu | python-internetarchive | 25.10 | 5.3.1-1 | vulnerable |
| Ubuntu | python-internetarchive | 25.10 | 5.4.0-1 | vulnerable |
| Ubuntu | python-internetarchive | 25.10 | 5.4.0-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-internetarchive | source | sid | 5.5.1-1 | not yet assigned | Not reported | [1114635] |
| Debian | python-internetarchive | source | forky | 5.5.1-1 | not yet assigned | Not reported | [1114635] |
| Debian | python-internetarchive | source | trixie | 5.4.0-2~deb13u1 | not yet assigned | Not reported | [1114635] |
| Debian | python-internetarchive | source | bookworm | 3.3.0-2~deb12u1 | not yet assigned | Not reported | [1114635] |
| Ubuntu | python-internetarchive | deb | noble | 3.5.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | internetarchive | deb | noble | 3.5.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-internetarchive | deb | noble | 3.5.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python-internetarchive | deb | pro | 3.5.0-1ubuntu0.1~esm1 | Not reported | USN-7989-1 | Not reported |
| Ubuntu | python-internetarchive | deb | 22.04 | 1.9.9-1ubuntu0.1 | Not reported | USN-7989-1 | Not reported |
| Ubuntu | python-internetarchive | deb | 25.10 | 5.4.0-1ubuntu0.1 | Not reported | USN-7989-1 | Not reported |
| Ubuntu | python-internetarchive | deb | pro | 3.5.0-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2025-58438 | Not reported |
| Ubuntu | python-internetarchive | deb | 22.04 | 1.9.9-1ubuntu0.1 | Not reported | UBUNTU-CVE-2025-58438 | Not reported |
| Ubuntu | python-internetarchive | deb | 25.10 | 5.4.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2025-58438 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [internetarchive]Fixed
Source package: [python-internetarchive]
Details (4)
3.3.0-2~deb12u1· all · bookwormFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
3.3.0-2~deb12u1· all · bookwormFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
3.3.0-2~deb12u1· all · bookworm-securityFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
3.3.0-2~deb12u1· all · bookworm-securityFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
- [python3-internetarchive]Fixed
Source package: [python-internetarchive]
Details (4)
3.3.0-2~deb12u1· all · bookwormFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
3.3.0-2~deb12u1· all · bookwormFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
3.3.0-2~deb12u1· all · bookworm-securityFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
3.3.0-2~deb12u1· all · bookworm-securityFixed · Fixed:
3.3.0-2~deb12u1usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12
[Debian 13 (Trixie)]
- [internetarchive]Fixed
Source package: [python-internetarchive]
Details (4)
5.4.0-2~deb13u1· all · trixieFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
5.4.0-2~deb13u1· all · trixieFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
5.4.0-2~deb13u1· all · trixie-securityFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
5.4.0-2~deb13u1· all · trixie-securityFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
- [python3-internetarchive]Fixed
Source package: [python-internetarchive]
Details (4)
5.4.0-2~deb13u1· all · trixieFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
5.4.0-2~deb13u1· all · trixieFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
5.4.0-2~deb13u1· all · trixie-securityFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
5.4.0-2~deb13u1· all · trixie-securityFixed · Fixed:
5.4.0-2~deb13u1usn · python-internetarchive · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-58438]
- [https://osv.dev/vulnerability/DLA-4314-1]
- [https://osv.dev/vulnerability/DSA-6035-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-58438]
- [https://osv.dev/vulnerability/USN-7989-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-58438]
- [https://ubuntu.com/security/notices/USN-7989-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]