5

CVE-2025-5917: Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c

Modified
AliasesUBUNTU-CVE-2025-5917DEBIAN-CVE-2025-5917
Published 09-06-2025Last modified 25-11-2026

Vulnerability summary

CVE-2025-5917 is a medium (CVSS 5.0) Out-of-bounds Write vulnerability in libarchive. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 27.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.0/10
010
Medium · v3.1 (NVD)
EPSS score
0.32%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 7

Timeline

  1. 09-06-2025
    PublishedVulnerability first disclosed.
  2. 25-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

Increase +0.10 pp

From 0.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat2 products
Debian1 product
  • libarchive< 3.6.2-1+deb12u3 | < 3.7.4-4
Libarchive1 product
Ubuntu1 product
  • libarchive< 3.1.2-7ubuntu2.8+esm4 | < 3.1.2-11ubuntu0.16.04.8+esm2 | < 3.2.2-3.1ubuntu0.7+esm2 | < 3.4.0-2ubuntu1.5+esm1 | < 3.6.0-1ubuntu1.5 | < 3.7.2-2ubuntu0.5 | < 3.7.7-0ubuntu3

4 vendors · 5 products

References

10 links