CVEfocus › CVE database › CVE-2025-5914

CVE-2025-5914Libarchive: double free at archive_read_format_rar_seek_data() in…

CVSS 7.8 HighEPSS 0.4% (higher than 30% of CVEs)Published 2025-06-09Updated 2026-11-06Assigner: 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.

CWE-190

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

27Fixed
4Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libarchiveFixed3.7.7-0ubuntu3UBUNTU-CVE-2025-5914
Ubuntu 24.04libarchiveFixed3.7.2-2ubuntu0.5UBUNTU-CVE-2025-5914
Ubuntu 22.04libarchiveFixed3.6.0-1ubuntu1.5UBUNTU-CVE-2025-5914
Ubuntu 20.04libarchiveFix pending3.4.0-2ubuntu1.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-5914
Ubuntu 18.04libarchiveFix pending3.2.2-3.1ubuntu0.7+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-5914
Ubuntu 16.04libarchiveFix pending3.1.2-11ubuntu0.16.04.8+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-5914
Ubuntu 14.04libarchiveFix pending3.1.2-7ubuntu2.8+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-5914
Debian 14libarchiveFixed3.7.4-4DEBIAN-CVE-2025-5914
Debian 13libarchiveFixed3.7.4-4DEBIAN-CVE-2025-5914
Debian 12libarchiveFixed3.6.2-1+deb12u3DEBIAN-CVE-2025-5914
Red Hat Enterprise Linux 10bsdtarFixed0:3.7.7-4.el10_0RHSA-2025:14137
Red Hat Enterprise Linux 10libarchiveFixed0:3.7.7-4.el10_0RHSA-2025:14137
Red Hat Enterprise Linux 10libarchive-develFixed0:3.7.7-4.el10_0RHSA-2025:14137
Red Hat Enterprise Linux 9bsdtarFixed0:3.5.3-6.el9_6RHSA-2025:14130
Red Hat Enterprise Linux 9libarchiveFixed0:3.5.3-6.el9_6RHSA-2025:14130
Red Hat Enterprise Linux 9libarchive-develFixed0:3.5.3-6.el9_6RHSA-2025:14130
Red Hat Enterprise Linux 8bsdtarFixed0:3.3.3-6.el8_10RHSA-2025:14135
Red Hat Enterprise Linux 8libarchiveFixed0:3.3.3-6.el8_10RHSA-2025:14135
Red Hat Enterprise Linux 8libarchive-develFixed0:3.3.3-6.el8_10RHSA-2025:14135
Red Hat Enterprise Linux 6libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchive-develWill not fix
Out of support scope
AlmaLinux 10bsdtarFixed3.7.7-4.el10_0ALSA-2025:14137
AlmaLinux 10libarchiveFixed3.7.7-4.el10_0ALSA-2025:14137
AlmaLinux 10libarchive-develFixed3.7.7-4.el10_0ALSA-2025:14137
AlmaLinux 9bsdtarFixed3.5.3-6.el9_6ALSA-2025:14130
AlmaLinux 9libarchiveFixed3.5.3-6.el9_6ALSA-2025:14130
AlmaLinux 9libarchive-develFixed3.5.3-6.el9_6ALSA-2025:14130
AlmaLinux 8bsdtarFixed3.3.3-6.el8_10ALSA-2025:14135
AlmaLinux 8libarchiveFixed3.3.3-6.el8_10ALSA-2025:14135
AlmaLinux 8libarchive-develFixed3.3.3-6.el8_10ALSA-2025:14135
Rocky Linux 10libarchiveFixed0:3.7.7-4.el10_0RLSA-2025:14137
Rocky Linux 9libarchiveFixed0:3.5.3-6.el9_6RLSA-2025:14130
Rocky Linux 8libarchiveFixed0:3.3.3-6.el8_10RLSA-2025:14135

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.