CVE & CISA-KEV Catalog

CVE-2025-58438

UNSCORED

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.

How to fix

Remediation Available
python-internetarchiveDebian
Fixed in:1.9.9-1+deb11u1CVE-2025-58438
Fixed in:3.3.0-2~deb12u1CVE-2025-58438
Fixed in:5.4.0-2~deb13u1CVE-2025-58438
Fixed in:5.5.1-1CVE-2025-58438
internetarchiveUbuntu
Fixed in:1.9.0-3ubuntu0.1~esm1USN-7989-1
Fixed in:1.9.9-1ubuntu0.1USN-7989-1
Fixed in:3.5.0-1ubuntu0.1~esm1USN-7989-1
Fixed in:5.4.0-1ubuntu0.1USN-7989-1
python-internetarchiveUbuntu
Fixed in:1.9.0-3ubuntu0.1~esm1USN-7989-1
Fixed in:1.9.9-1ubuntu0.1USN-7989-1
Fixed in:3.5.0-1ubuntu0.1~esm1USN-7989-1
Fixed in:5.4.0-1ubuntu0.1USN-7989-1
python3-internetarchiveUbuntu
Fixed in:1.9.0-3ubuntu0.1~esm1USN-7989-1
Fixed in:1.9.9-1ubuntu0.1USN-7989-1
Fixed in:3.5.0-1ubuntu0.1~esm1USN-7989-1
Fixed in:5.4.0-1ubuntu0.1USN-7989-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

1.40%probability of exploitation in 30 days
69thpercentile

Moderate risk: more likely to be exploited than 69% of all known CVEs.

References

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2025-58438
CVE-2025-58438 severity badge

Markdown

[![CVE-2025-58438](https://tridentstack.com/cve/badge/CVE-2025-58438.svg)](https://tridentstack.com/cve/CVE-2025-58438)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-58438"><img src="https://tridentstack.com/cve/badge/CVE-2025-58438.svg" alt="CVE-2025-58438"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.