Libarchive Remote Code Execution Vulnerability
- Published
- Apr 9, 2024
- Updated
- Jun 17, 2026
- EPSS
- 84.8% · 100th percentile
- CWE
- CWE-122
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
56
Plan
Add it to your regular patch cycle.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 25 / 30 · 84.8%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · microsoft
- 7.8
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| libarchive | libarchive | cpe:2.3:a:libarchive:libarchive |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| microsoft | windows 11 22h2 | cpe:2.3:o:microsoft:windows_11_22h2 |
| microsoft | windows 11 23h2 | cpe:2.3:o:microsoft:windows_11_23h2 |
| microsoft | windows server 2022 23h2 | cpe:2.3:o:microsoft:windows_server_2022_23h2 |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- microsoft windows server 2022 23h2before 10.0.25398.830
Versions reported by the vendor
Affected version ranges reported by the assigning authority (microsoft). Independent of NVD's CPE analysis and usually ahead of it.
Microsoft Windows 11 version 22H2
- 10.0.22621.0 and later · before 10.0.22621.3447affected
Microsoft Windows 11 version 22H3
- 10.0.22631.0 and later · before 10.0.22631.3447affected
Microsoft Windows 11 Version 23H2
- 10.0.22631.0 and later · before 10.0.22631.3447affected
Microsoft Windows Server 2022, 23H2 Edition (Server Core installation)
- 10.0.25398.0 and later · before 10.0.25398.830affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.16 | libarchive | before 3.7.4-r0 | 3.7.4-r0 |
| Alpine:v3.21 | libarchive | before 3.7.5-r0 | 3.7.5-r0 |
| Debian:12 | libarchive | before 3.6.2-1+deb12u1 | 3.6.2-1+deb12u1 |
| Debian:13 | libarchive | before 3.7.2-2.1 | 3.7.2-2.1 |
| openSUSE:Tumbleweed | bsdtar | before 3.7.4-1.1 | 3.7.4-1.1 |
| SUSE:Linux Micro 6.0 | libarchive | before 3.6.2-4.1 | 3.6.2-4.1 |
| SUSE:Linux Micro 6.1 | libarchive | before 3.7.4-slfo.1.1_2.1 | 3.7.4-slfo.1.1_2.1 |
Same product
libarchive: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-36227In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if th40Plan
- CVE-2016-1541Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remo38Monitor
- CVE-2024-37407Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled.36Monitor
- CVE-2020-9308archive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack a RAR5 file with an invalid or corrupted header (such as a 36Monitor
- CVE-2018-1000878libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulne36Monitor
- CVE-2018-1000877libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerab36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Alpine:libarchive | 3.7.4-r0 · Alpine:v3.16 | Package registry (OSV) |
| Debian:libarchive | 3.6.2-1+deb12u1 · Debian:12 | Package registry (OSV) |
| openSUSE:bsdtar | 3.7.4-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| SUSE:libarchive | 3.6.2-4.1 · SUSE:Linux Micro 6.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-5915426 days apartLibarchive: heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c26Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- msrc.microsoft.com/update-guide/vulnerability/CVE-2024-26256
- www.openwall.com/lists/oss-security/2024/06/04/2
- www.openwall.com/lists/oss-security/2024/06/05/1
- github.com/LeSuisse/nixpkgs/commit/81b82a2934521dffef76f7ca305d8d4e22fe7262
- github.com/libarchive/libarchive/commit/eb7939b24a681a04648a59cdebd386b1e9dc9237.patch
- github.com/libarchive/libarchive/releases/tag/v3.7.4
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EWANFZ6NEMXFCALXWI2AFKYBOLONAVFC/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TWAMR5TY47UKVYMWQXB34CWSBNTRYMBV/
- www.openwall.com/lists/oss-security/2024/06/04/2
Vendor advisories and official records. Exploit/PoC links are deliberately left out.