Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.9
Docker hardened images using libarchive can read beyond file data
published 10 days ago
Summary
The libarchive library used in Docker’s hardened images can overread when a file stream is piped into the bsdtar tool. This may cause the program to behave unpredictably, corrupt memory, or stop working. Update to a version of libarchive that fixes the issue or apply the vendor’s recommended patch.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Debian:13 | docker hardened images | libarchive | All versions |
Original advisory text
A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped…
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.
References
- https://scout.docker.com/v/DHI-gqv2-6vcx-uuwa-fibd Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-5918 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2025-5918 Vendor Advisory
- https://github.com/libarchive/libarchive/pull/2584 Patch
- https://github.com/libarchive/libarchive/releases/tag/v3.8.0 URL
- https://bugzilla.redhat.com/show_bug.cgi?id=2370877 URL
- https://security.alpinelinux.org/vuln/CVE-2025-5918 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2025-5918 Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2025-5918 Patch
- https://ubuntu.com/security/CVE-2025-5918 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2025-5918 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Timeline
Published11 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-gqv2-6vcx-uuwa-fibd · OSV
Track software like this
Free during beta