CVE-2025-58438
Publication date 6 September 2025
Last updated 4 February 2026
Ubuntu priority
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python-internetarchive | 25.10 questing |
Fixed 5.4.0-1ubuntu0.1
|
| 24.04 LTS noble |
Fixed 3.5.0-1ubuntu0.1~esm1
|
|
| 22.04 LTS jammy |
Fixed 1.9.9-1ubuntu0.1
|
|
| 20.04 LTS focal |
Fixed 1.9.0-3ubuntu0.1~esm1
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialReferences
Related Ubuntu Security Notices (USN)
- USN-7989-1
- The Internet Archive Python Library vulnerability
- 2 February 2026