CVE & CISA-KEV Catalog

CVE-2025-5918

LOW
3.9
CVSS v3
NVD

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.

How to fix

Remediation Available
libarchiveDebian
Fixed in:3.4.3-2+deb11u3CVE-2025-5918
Fixed in:3.6.2-1+deb12u4CVE-2025-5918
Fixed in:3.7.4-4+deb13u1CVE-2025-5918
Fixed in:3.8.4-1CVE-2025-5918
bsdcpioUbuntu
Fixed in:3.1.2-7ubuntu2.8+esm4USN-8147-1
Fixed in:3.1.2-11ubuntu0.16.04.8+esm2USN-8147-1
Fixed in:3.2.2-3.1ubuntu0.7+esm2USN-8147-1
bsdtarUbuntu
Fixed in:3.1.2-7ubuntu2.8+esm4USN-8147-1
Fixed in:3.1.2-11ubuntu0.16.04.8+esm2USN-8147-1
Fixed in:3.2.2-3.1ubuntu0.7+esm2USN-8147-1
libarchiveUbuntu
Fixed in:3.1.2-7ubuntu2.8+esm4USN-8147-1
Fixed in:3.1.2-11ubuntu0.16.04.8+esm2USN-8147-1
Fixed in:3.2.2-3.1ubuntu0.7+esm2USN-8147-1
Fixed in:3.4.0-2ubuntu1.5+esm1USN-8147-1
Fixed in:3.6.0-1ubuntu1.6USN-8147-1
Fixed in:3.7.2-2ubuntu0.6USN-8147-1
Fixed in:3.7.7-0ubuntu3.1USN-8147-1
libarchive-devUbuntu
Fixed in:3.1.2-7ubuntu2.8+esm4USN-8147-1
Fixed in:3.1.2-11ubuntu0.16.04.8+esm2USN-8147-1
Fixed in:3.2.2-3.1ubuntu0.7+esm2USN-8147-1
Fixed in:3.4.0-2ubuntu1.5+esm1USN-8147-1
Fixed in:3.6.0-1ubuntu1.6USN-8147-1
Fixed in:3.7.2-2ubuntu0.6USN-8147-1
Fixed in:3.7.7-0ubuntu3.1USN-8147-1
libarchive-toolsUbuntu
Fixed in:3.2.2-3.1ubuntu0.7+esm2USN-8147-1
Fixed in:3.4.0-2ubuntu1.5+esm1USN-8147-1
Fixed in:3.6.0-1ubuntu1.6USN-8147-1
Fixed in:3.7.2-2ubuntu0.6USN-8147-1
Fixed in:3.7.7-0ubuntu3.1USN-8147-1
libarchive13Ubuntu
Fixed in:3.1.2-7ubuntu2.8+esm4USN-8147-1
Fixed in:3.1.2-11ubuntu0.16.04.8+esm2USN-8147-1
Fixed in:3.2.2-3.1ubuntu0.7+esm2USN-8147-1
Fixed in:3.4.0-2ubuntu1.5+esm1USN-8147-1
Fixed in:3.6.0-1ubuntu1.6USN-8147-1
libarchive13t64Ubuntu
Fixed in:3.7.2-2ubuntu0.6USN-8147-1
Fixed in:3.7.7-0ubuntu3.1USN-8147-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L

Exploit Intelligence

0.34%probability of exploitation in 30 days
26thpercentile

Low risk: more likely to be exploited than 26% of all known CVEs.

References

Vendor Advisory1
Issue Tracking1
Release Notes1

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2025-5918
CVE-2025-5918 severity badge

Markdown

[![CVE-2025-5918](https://tridentstack.com/cve/badge/CVE-2025-5918.svg)](https://tridentstack.com/cve/CVE-2025-5918)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-5918"><img src="https://tridentstack.com/cve/badge/CVE-2025-5918.svg" alt="CVE-2025-5918"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-30.