UBUNTU-CVE-2025-58438

Source
https://ubuntu.com/security/CVE-2025-58438
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58438.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-58438
Upstream
Downstream
Related
Published
2025-09-06T19:15:00Z
Modified
2026-02-04T07:39:30.300139Z
Severity
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:20.04:LTS / python-internetarchive

Package

Name
python-internetarchive
Purl
pkg:deb/ubuntu/python-internetarchive@1.9.0-3ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.0-3ubuntu0.1~esm1

Affected versions

1.*
1.8.1-1
1.8.5-1
1.9.0-2
1.9.0-3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.9.0-3ubuntu0.1~esm1",
            "binary_name": "internetarchive"
        },
        {
            "binary_version": "1.9.0-3ubuntu0.1~esm1",
            "binary_name": "python3-internetarchive"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58438.json"

Ubuntu:22.04:LTS / python-internetarchive

Package

Name
python-internetarchive
Purl
pkg:deb/ubuntu/python-internetarchive@1.9.9-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.9-1ubuntu0.1

Affected versions

1.*
1.9.9-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.9.9-1ubuntu0.1",
            "binary_name": "internetarchive"
        },
        {
            "binary_version": "1.9.9-1ubuntu0.1",
            "binary_name": "python3-internetarchive"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58438.json"

Ubuntu:Pro:24.04:LTS / python-internetarchive

Package

Name
python-internetarchive
Purl
pkg:deb/ubuntu/python-internetarchive@3.5.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.0-1ubuntu0.1~esm1

Affected versions

3.*
3.3.0-1
3.5.0-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.5.0-1ubuntu0.1~esm1",
            "binary_name": "internetarchive"
        },
        {
            "binary_version": "3.5.0-1ubuntu0.1~esm1",
            "binary_name": "python3-internetarchive"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58438.json"

Ubuntu:25.10 / python-internetarchive

Package

Name
python-internetarchive
Purl
pkg:deb/ubuntu/python-internetarchive@5.4.0-1ubuntu0.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.0-1ubuntu0.1

Affected versions

5.*
5.2.1-1
5.3.1-1
5.4.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "5.4.0-1ubuntu0.1",
            "binary_name": "internetarchive"
        },
        {
            "binary_version": "5.4.0-1ubuntu0.1",
            "binary_name": "python3-internetarchive"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58438.json"