CVE-2025-5917: libarchive
Affects libarchiveSource GCVE Database
Not known to be exploited · CVSS 2.8 Low · fixed in 3.1.2-7ubuntu2.8+esm4 : update libarchive when convenient.
Data as of 24 Nov 2026, 19:43 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 2.8 |
|---|
- Patch
- Available – fixed in 3.1.2-7ubuntu2.8+esm4, 3.1.2-11ubuntu0.16.04.8+esm2, 3.2.2-3.1ubuntu0.7+esm2 +4
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10libarchivepkg:deb/ubuntu/libarchive?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2025-5917 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-5917 (opens in a new tab)
- github.com/libarchive/libarchive/pull/2588 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-5917 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2370874 (opens in a new tab)
- github.com/libarchive/libarchive/releases/tag/v3.8.0 (opens in a new tab)
- ubuntu.com/security/notices/USN-7601-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8147-1 (opens in a new tab)