Skip to main content
VulnerabilityPublished Updated

CVE-2025-5917: libarchive

Affects libarchiveSource GCVE Database

0
Compare
Authoritative record:CVE-2025-5917· Low 2.8

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

CVSS 3.1 base score
2.8Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.12.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 25.10libarchivepkg:deb/ubuntu/libarchive?arch=source&distro=questingOther threatsAffected
  • <3.7.7-0ubuntu3
Fixed in
  • 3.7.7-0ubuntu3
Ubuntu 24.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=nobleOther threatsAffected
  • <3.7.2-2ubuntu0.5
Fixed in
  • 3.7.2-2ubuntu0.5
Ubuntu 22.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=jammyOther threatsAffected
  • <3.6.0-1ubuntu1.5
Fixed in
  • 3.6.0-1ubuntu1.5
Ubuntu Pro 20.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=esm-infra/focalOther threatsAffected
  • <3.4.0-2ubuntu1.5+esm1
Fixed in
  • 3.4.0-2ubuntu1.5+esm1
Ubuntu Pro 18.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <3.2.2-3.1ubuntu0.7+esm2
Fixed in
  • 3.2.2-3.1ubuntu0.7+esm2
Ubuntu Pro 16.04 LTSlibarchivepkg:deb/ubuntu/libarchive?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <3.1.2-11ubuntu0.16.04.8+esm2
Fixed in
  • 3.1.2-11ubuntu0.16.04.8+esm2

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

Community reviews

Loading reviews…