CVE-2025-5918
Libarchive: reading past eof may be triggered for piped file streams
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:LAttack VectorLocal
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:RUser InteractionRequired
Scope
S:UScopeUnchanged
Impact
C:LConfidentialityLow
I:NIntegrityNone
A:LAvailabilityLow
Weaknesses
Affected Products
Red Hat Inc.
commercial·USaka Red Hat, redhat
libarchive
oss-project
ООО «Ред Софт»
commercial·RUaka red soft
ООО «РусБИТех-Астра»
commercial·RUaka rusbitech-astra
АО «ИВК»
commercial·RUaka ivk
АО «НТЦ ИТ РОСА»
commercial·RU
and 9 more affected products View all →
Exploitability
Official Patch Available
Workaround Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Collection
References
https://access.redhat.com/security/cve/CVE-2025-5918
access.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2370877
bugzilla.redhat.com
https://github.com/libarchive/libarchive/pull/2584
github.com
and 11 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-5918 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
