CVE catalog

CVE-2025-58438

The Internet Archive Python Library vulnerability

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianpython-internetarchivesid5.11.0-1fixed
Debianpython-internetarchiveforky5.11.0-1fixed
Debianpython-internetarchivetrixie5.4.0-2~deb13u1fixed
Debianpython-internetarchivetrixie-security5.4.0-2~deb13u1fixed
Debianpython-internetarchivebookworm3.3.0-2~deb12u1fixed
Debianpython-internetarchivebookworm-security3.3.0-2~deb12u1fixed
Ubuntupython-internetarchivenoble3.5.0-1ubuntu0.1~esm1fixed
Ubuntuinternetarchivenoble3.5.0-1ubuntu0.1~esm1fixed
Ubuntupython3-internetarchivenoble3.5.0-1ubuntu0.1~esm1fixed
Ubuntupython-internetarchivepro3.3.0-1vulnerable
Ubuntupython-internetarchivepro3.5.0-1vulnerable
Ubuntupython-internetarchivepro3.5.0-1ubuntu0.1~esm1fixed
Ubuntupython-internetarchive22.041.9.9-1vulnerable
Ubuntupython-internetarchive22.041.9.9-1ubuntu0.1fixed
Ubuntupython-internetarchive25.105.2.1-1vulnerable
Ubuntupython-internetarchive25.105.3.1-1vulnerable
Ubuntupython-internetarchive25.105.4.0-1vulnerable
Ubuntupython-internetarchive25.105.4.0-1ubuntu0.1fixed
Ubuntupython-internetarchivepro3.3.0-1vulnerable
Ubuntupython-internetarchivepro3.5.0-1vulnerable
Ubuntupython-internetarchivepro3.5.0-1ubuntu0.1~esm1fixed
Ubuntupython-internetarchive22.041.9.9-1vulnerable
Ubuntupython-internetarchive22.041.9.9-1ubuntu0.1fixed
Ubuntupython-internetarchive25.105.2.1-1vulnerable
Ubuntupython-internetarchive25.105.3.1-1vulnerable
Ubuntupython-internetarchive25.105.4.0-1vulnerable
Ubuntupython-internetarchive25.105.4.0-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-internetarchivesourcesid5.5.1-1not yet assignedNot reported[1114635]
Debianpython-internetarchivesourceforky5.5.1-1not yet assignedNot reported[1114635]
Debianpython-internetarchivesourcetrixie5.4.0-2~deb13u1not yet assignedNot reported[1114635]
Debianpython-internetarchivesourcebookworm3.3.0-2~deb12u1not yet assignedNot reported[1114635]
Ubuntupython-internetarchivedebnoble3.5.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuinternetarchivedebnoble3.5.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-internetarchivedebnoble3.5.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython-internetarchivedebpro3.5.0-1ubuntu0.1~esm1Not reportedUSN-7989-1Not reported
Ubuntupython-internetarchivedeb22.041.9.9-1ubuntu0.1Not reportedUSN-7989-1Not reported
Ubuntupython-internetarchivedeb25.105.4.0-1ubuntu0.1Not reportedUSN-7989-1Not reported
Ubuntupython-internetarchivedebpro3.5.0-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2025-58438Not reported
Ubuntupython-internetarchivedeb22.041.9.9-1ubuntu0.1Not reportedUBUNTU-CVE-2025-58438Not reported
Ubuntupython-internetarchivedeb25.105.4.0-1ubuntu0.1Not reportedUBUNTU-CVE-2025-58438Not reported

[Debian bug #1114635]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-internetarchive]

    Details (4)
    • 3.3.0-2~deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

    • 3.3.0-2~deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

    • 3.3.0-2~deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

    • 3.3.0-2~deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

  • Source package: [python-internetarchive]

    Details (4)
    • 3.3.0-2~deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

    • 3.3.0-2~deb12u1 · all · bookworm

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

    • 3.3.0-2~deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

    • 3.3.0-2~deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.3.0-2~deb12u1

      usn · python-internetarchive · debian · bookworm; usn · python-internetarchive · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-internetarchive]

    Details (4)
    • 5.4.0-2~deb13u1 · all · trixie

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

    • 5.4.0-2~deb13u1 · all · trixie

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

    • 5.4.0-2~deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

    • 5.4.0-2~deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

  • Source package: [python-internetarchive]

    Details (4)
    • 5.4.0-2~deb13u1 · all · trixie

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

    • 5.4.0-2~deb13u1 · all · trixie

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

    • 5.4.0-2~deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

    • 5.4.0-2~deb13u1 · all · trixie-security

      Fixed · Fixed: 5.4.0-2~deb13u1

      usn · python-internetarchive · debian · 13

Observed:

References