CVE-2025-5918: Libarchive: reading past eof may be triggered for piped file streams
Vulnerability summary
CVE-2025-5918 is a medium (CVSS 6.6) Out-of-bounds Read vulnerability in libarchive. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.6% of scored vulnerabilities.
Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 6Timeline
- 09-06-2025PublishedVulnerability first disclosed.
- 25-11-2026Last modifiedVulnerability information updated.
Description
A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA3.9LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Increase +0.11 pp
From 0.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat2 products
- enterprise_linuxEOL6.0 | 7.0 | 8.0 | 9.0
- openshift_container_platform4.0
Debian1 product
- libarchive< 3.6.2-1+deb12u4 | < 3.7.4-4+deb13u1 | < 3.8.4-1
Libarchive1 product
- libarchive< 3.8.0
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.6 | < 3.7.2-2ubuntu0.6 | < 3.7.7-0ubuntu3.1
4 vendors · 5 products