Catalogue CVE

CVE-2025-5917

libarchive vulnerabilities

[Catalogue CVE]

A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.

Gravité
Low · CVSS 2.8CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.23% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixielibarchive3.7.4-4FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debiantrixielibarchive3.7.4-4+deb13u1Fixed[CVE-2025-5917]
Debiansidlibarchive3.7.4-4FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debiansidlibarchive3.8.10-2Fixed[CVE-2025-5917]
Debianforkylibarchive3.7.4-4FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debianforkylibarchive3.8.9-1Fixed[CVE-2025-5917]
Debianbookworm-securitylibarchive3.6.2-1+deb12u5Fixed[CVE-2025-5917]
Debianbookwormlibarchive3.6.2-1+deb12u3FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debianbookwormlibarchive3.6.2-1+deb12u4Fixed[CVE-2025-5917]

Showing 9 fix observations. All 52 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedlibarchive3.6.2-1+deb12u3UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive3.7.2-2ubuntu0.5UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive3.7.2-2ubuntu0.6UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive-dev3.7.2-2ubuntu0.5UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive-dev3.7.2-2ubuntu0.6UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive-tools3.7.2-2ubuntu0.5UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive-tools3.7.2-2ubuntu0.6UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive13t643.7.2-2ubuntu0.5UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibarchive13t643.7.2-2ubuntu0.6UnknownSource applicability is not establishedProvider not reported
Debianbookwormlibarchive3.6.2-1+deb12u3FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debianbookwormlibarchive3.6.2-1+deb12u4Fixed[CVE-2025-5917]
Debianbookworm-securitylibarchive3.6.2-1+deb12u5Fixed[CVE-2025-5917]
Debianforkylibarchive3.7.4-4FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debianforkylibarchive3.8.9-1Fixed[CVE-2025-5917]
Debiansidlibarchive3.7.4-4FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debiansidlibarchive3.8.10-2Fixed[CVE-2025-5917]
Debiantrixielibarchive3.7.4-4FixedDistribution-reported fixed boundary[CVE-2025-5917]
Debiantrixielibarchive3.7.4-4+deb13u1Fixed[CVE-2025-5917]
Ubuntu22.04libarchive3.4.3-2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.4.3-2build1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.5.2-1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.5.2-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.6.0-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.6.0-1ubuntu1.1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.6.0-1ubuntu1.2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.6.0-1ubuntu1.3UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.6.0-1ubuntu1.4UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu22.04libarchive3.6.0-1ubuntu1.5UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.6.2-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-1.1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-2ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-2ubuntu0.2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-2ubuntu0.3UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-2ubuntu0.4UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu24.04libarchive3.7.2-2ubuntu0.5UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu25.10libarchive3.7.7-0ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu25.10libarchive3.7.7-0ubuntu2.1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu25.10libarchive3.7.7-0ubuntu2.2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntu25.10libarchive3.7.7-0ubuntu3UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-1build1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-2ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-2ubuntu1.1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-2ubuntu1.2UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-2ubuntu1.3UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-2ubuntu1.4UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-2ubuntu1.5UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Ubuntuprolibarchive3.4.0-2ubuntu1.5+esm1UnknownSource applicability is not established[UBUNTU-CVE-2025-5917]
Original provider fields
{
  "package_releases": [
    {
      "name": "libarchive",
      "status": "fixed",
      "release": "sid",
      "version": "3.8.10-2"
    },
    {
      "name": "libarchive",
      "status": "fixed",
      "release": "forky",
      "version": "3.8.9-1"
    },
    {
      "name": "libarchive",
      "status": "fixed",
      "release": "trixie",
      "version": "3.7.4-4+deb13u1"
    },
    {
      "name": "libarchive",
      "status": "fixed",
      "release": "bookworm",
      "version": "3.6.2-1+deb12u4"
    },
    {
      "name": "libarchive",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "3.6.2-1+deb12u5"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1107626,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "3.7.4-4"
    },
    {
      "bug": 1107626,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "3.7.4-4"
    },
    {
      "bug": 1107626,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "3.7.4-4"
    },
    {
      "bug": 1107626,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "3.6.2-1+deb12u3"
    }
  ],
  "distribution_packages": [
    {
      "name": "libarchive",
      "fixed_version": "3.7.2-2ubuntu0.6",
      "applicability_unknown": true
    },
    {
      "name": "libarchive-dev",
      "fixed_version": "3.7.2-2ubuntu0.6",
      "applicability_unknown": true
    },
    {
      "name": "libarchive-tools",
      "fixed_version": "3.7.2-2ubuntu0.6",
      "applicability_unknown": true
    },
    {
      "name": "libarchive13t64",
      "fixed_version": "3.7.2-2ubuntu0.6",
      "applicability_unknown": true
    },
    {
      "name": "libarchive",
      "fixed_version": "3.6.2-1+deb12u3",
      "applicability_unknown": true
    },
    {
      "name": "libarchive",
      "fixed_version": "3.7.2-2ubuntu0.5",
      "applicability_unknown": true
    },
    {
      "name": "libarchive-dev",
      "fixed_version": "3.7.2-2ubuntu0.5",
      "applicability_unknown": true
    },
    {
      "name": "libarchive-tools",
      "fixed_version": "3.7.2-2ubuntu0.5",
      "applicability_unknown": true
    },
    {
      "name": "libarchive13t64",
      "fixed_version": "3.7.2-2ubuntu0.5",
      "applicability_unknown": true
    },
    {
      "name": "libarchive",
      "ranges": [
        {
          "fixed": "3.8.0",
          "introduced": "",
          "last_affected": "",
          "start_excluding": ""
        }
      ],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5917",
      "fixed_version": "3.8.0",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2025-5917",
      "provider_updated_at": "2026-09-01T13:17:47.803"
    },
    {
      "name": "openshift_container_platform",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5917",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2025-5917",
      "provider_updated_at": "2026-09-01T13:17:47.803"
    },
    {
      "name": "enterprise_linux",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5917",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2025-5917",
      "provider_updated_at": "2026-09-01T13:17:47.803"
    },
    {
      "name": "libarchive",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.4.0-2ubuntu1.5+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "3.4.0-1",
        "3.4.0-1build1",
        "3.4.0-1ubuntu2",
        "3.4.0-2ubuntu1",
        "3.4.0-2ubuntu1.1",
        "3.4.0-2ubuntu1.2",
        "3.4.0-2ubuntu1.3",
        "3.4.0-2ubuntu1.4",
        "3.4.0-2ubuntu1.5"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-5917",
      "fixed_version": "3.4.0-2ubuntu1.5+esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2025-5917",
      "provider_updated_at": "2026-04-22T16:06:55.946348Z",
      "applicability_unknown": true
    },
    {
      "name": "libarchive",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.6.0-1ubuntu1.5"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "3.4.3-2",
        "3.4.3-2build1",
        "3.5.2-1",
        "3.5.2-1ubuntu1",
        "3.6.0-1ubuntu1",
        "3.6.0-1ubuntu1.1",
        "3.6.0-1ubuntu1.2",
        "3.6.0-1ubuntu1.3",
        "3.6.0-1ubuntu1.4"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-5917",
      "fixed_version": "3.6.0-1ubuntu1.5",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2025-5917",
      "provider_updated_at": "2026-04-22T16:06:55.946348Z",
      "applicability_unknown": true
    },
    {
      "name": "libarchive",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.2-2ubuntu0.5"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "3.6.2-1ubuntu1",
        "3.7.2-1ubuntu1",
        "3.7.2-1ubuntu2",
        "3.7.2-1.1ubuntu2",
        "3.7.2-2",
        "3.7.2-2ubuntu0.1",
        "3.7.2-2ubuntu0.2",
        "3.7.2-2ubuntu0.3",
        "3.7.2-2ubuntu0.4"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-5917",
      "fixed_version": "3.7.2-2ubuntu0.5",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2025-5917",
      "provider_updated_at": "2026-04-22T16:06:55.946348Z",
      "applicability_unknown": true
    },
    {
      "name": "libarchive",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.7-0ubuntu3"
            }
          ]
        }
      ],
      "release": "25.10",
      "versions": [
        "3.7.7-0ubuntu2",
        "3.7.7-0ubuntu2.1",
        "3.7.7-0ubuntu2.2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-5917",
      "fixed_version": "3.7.7-0ubuntu3",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2025-5917",
      "provider_updated_at": "2026-04-22T16:06:55.946348Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #1107626]

OpenFactory catalog packages

L’association des paquets est en cours.

[Debian 12 (Bookworm)]

  • [libarchive13]Inconnu

    Paquet source: [libarchive]

    Détails (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • Paquet source: [libarchive]

    Détails (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • Paquet source: [libarchive]

    Détails (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Corrigée · Corrigée: 3.6.2-1+deb12u3

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

[Debian 13 (Trixie)]

  • Paquet source: [libarchive]

    Détails (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Corrigée · Corrigée: 3.7.4-4

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Corrigée · Corrigée: 3.7.4-4

      usn · libarchive · debian · 13

  • Paquet source: [libarchive]

    Détails (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Corrigée · Corrigée: 3.7.4-4

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Corrigée · Corrigée: 3.7.4-4

      usn · libarchive · debian · 13

  • Paquet source: [libarchive]

    Détails (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Corrigée · Corrigée: 3.7.4-4

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Corrigée · Corrigée: 3.7.4-4

      usn · libarchive · debian · 13

Observé:

Références