
Catalogue CVE
CVE-2025-5917
libarchive vulnerabilities
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.8
CVSS: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 / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | libarchive | 3.7.4-4 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debiantrixie | libarchive | 3.7.4-4+deb13u1 | Fixed | [CVE-2025-5917] |
| Debiansid | libarchive | 3.7.4-4 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debiansid | libarchive | 3.8.10-2 | Fixed | [CVE-2025-5917] |
| Debianforky | libarchive | 3.7.4-4 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debianforky | libarchive | 3.8.9-1 | Fixed | [CVE-2025-5917] |
| Debianbookworm-security | libarchive | 3.6.2-1+deb12u5 | Fixed | [CVE-2025-5917] |
| Debianbookworm | libarchive | 3.6.2-1+deb12u3 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debianbookworm | libarchive | 3.6.2-1+deb12u4 | Fixed | [CVE-2025-5917] |
Showing 9 fix observations. All 52 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | libarchive | 3.6.2-1+deb12u3 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive | 3.7.2-2ubuntu0.5 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive | 3.7.2-2ubuntu0.6 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive-dev | 3.7.2-2ubuntu0.5 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive-dev | 3.7.2-2ubuntu0.6 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive-tools | 3.7.2-2ubuntu0.5 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive-tools | 3.7.2-2ubuntu0.6 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive13t64 | 3.7.2-2ubuntu0.5 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | libarchive13t64 | 3.7.2-2ubuntu0.6 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | libarchive | 3.6.2-1+deb12u3 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debianbookworm | libarchive | 3.6.2-1+deb12u4 | Fixed | [CVE-2025-5917] |
| Debianbookworm-security | libarchive | 3.6.2-1+deb12u5 | Fixed | [CVE-2025-5917] |
| Debianforky | libarchive | 3.7.4-4 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debianforky | libarchive | 3.8.9-1 | Fixed | [CVE-2025-5917] |
| Debiansid | libarchive | 3.7.4-4 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debiansid | libarchive | 3.8.10-2 | Fixed | [CVE-2025-5917] |
| Debiantrixie | libarchive | 3.7.4-4 | FixedDistribution-reported fixed boundary | [CVE-2025-5917] |
| Debiantrixie | libarchive | 3.7.4-4+deb13u1 | Fixed | [CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.4.3-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.4.3-2build1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.5.2-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.5.2-1ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.6.0-1ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.6.0-1ubuntu1.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.6.0-1ubuntu1.2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.6.0-1ubuntu1.3 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.6.0-1ubuntu1.4 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu22.04 | libarchive | 3.6.0-1ubuntu1.5 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.6.2-1ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-1.1ubuntu2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-1ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-1ubuntu2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-2ubuntu0.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-2ubuntu0.2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-2ubuntu0.3 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-2ubuntu0.4 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu24.04 | libarchive | 3.7.2-2ubuntu0.5 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu25.10 | libarchive | 3.7.7-0ubuntu2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu25.10 | libarchive | 3.7.7-0ubuntu2.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu25.10 | libarchive | 3.7.7-0ubuntu2.2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntu25.10 | libarchive | 3.7.7-0ubuntu3 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-1build1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-1ubuntu2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-2ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-2ubuntu1.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-2ubuntu1.2 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-2ubuntu1.3 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-2ubuntu1.4 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-2ubuntu1.5 | UnknownSource applicability is not established | [UBUNTU-CVE-2025-5917] |
| Ubuntupro | libarchive | 3.4.0-2ubuntu1.5+esm1 | UnknownSource 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
}
]
}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 · bookwormCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-dev]Inconnu
Paquet source: [libarchive]
Détails (4)
3.6.2-1+deb12u4· amd64 · bookwormCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-tools]Inconnu
Paquet source: [libarchive]
Détails (4)
3.6.2-1+deb12u4· amd64 · bookwormCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityCorrigée · Corrigée:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Inconnu
Paquet source: [libarchive]
Détails (2)
3.7.4-4+deb13u1· amd64 · trixieCorrigée · Corrigée:
3.7.4-4usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieCorrigée · Corrigée:
3.7.4-4usn · libarchive · debian · 13
- [libarchive-dev]Inconnu
Paquet source: [libarchive]
Détails (2)
3.7.4-4+deb13u1· amd64 · trixieCorrigée · Corrigée:
3.7.4-4usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieCorrigée · Corrigée:
3.7.4-4usn · libarchive · debian · 13
- [libarchive-tools]Inconnu
Paquet source: [libarchive]
Détails (2)
3.7.4-4+deb13u1· amd64 · trixieCorrigée · Corrigée:
3.7.4-4usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieCorrigée · Corrigée:
3.7.4-4usn · libarchive · debian · 13
Observé:
Références
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_02566-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-5917]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-5917]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-5917]
- [https://security-tracker.debian.org/tracker/CVE-2025-5917]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-5917.json]
- [https://ubuntu.com/security/notices/USN-7601-1]
- [https://ubuntu.com/security/notices/USN-8147-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1266.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]