Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c
CVE-2025-5914Published 9 Jun 2025, 19:53 UTC
Real-world risk
3.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Discovery 1Common | not stated | — |
| RHOSS-1.36-RHEL-8Niche | not stated | — |
| Red Hat Insights proxy 1.5Niche | not stated | — |
| Red Hat Web TerminalNiche | not stated | — |
| cert-manager operator for Red Hat OpenShift 1.16Niche | not stated | — |
| libarchiveNiche | < 3.8.0 | 3.8.0 |
What to do
Update to a fixed version: 3.8.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 44), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.35 × threat 0.953.325
- Rounded to one decimal between 0.1 and 103.3
Exploitation and evidence timeline
- 9 Jun 2025 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 3.3 (cvss fallback)
Weakness
CWE-190
References
- https://access.redhat.com/errata/RHSA-2025:14130redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14135redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14137redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14141redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14142redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14525redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14528redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14594redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14644redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14808redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14810redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:14828redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15024redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15397redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15709redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15827redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:15828redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:16524redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:18217redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:18218redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:18219redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19041redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:19046redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:21885redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2025:21913redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0326redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:0934redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:1541redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-5914redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2370861issue-tracking, redhat
- https://github.com/libarchive/libarchive/pull/2598exploit
- https://github.com/libarchive/libarchive/releases/tag/v3.8.0
- https://cert-portal.siemens.com/productcert/html/ssa-585531.html
- CVE-2025-5914 on CVE.org