CVE-2025-5914: libarchive Integer Overflow or Wraparound
Vulnerability summary
CVE-2025-5914 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in libarchive. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 37.2% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 10 · Related 9Timeline
- 09-06-2025PublishedVulnerability first disclosed.
- 12-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
+0.01 pp
From 0.44% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundLibarchive
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Redhat12 products
- enterprise_linuxEOL6.0 | 7.0 | 8.0 | 9.0 | 10.0
- openshift_container_platform4.0
- bsdcat-debuginfo< 0:3.5.3-6.el9_6 | < 0:3.3.3-6.el8_10 | < 0:3.7.7-4.el10_0 | < 0:3.5.3-2.el9_0.1 | < 0:3.5.3-4.el9_4.1 | < 0:3.3.3-5.el8_8.1 | < 0:3.3.2-8.el8_2.1 | < 0:3.3.3-6.el8_6 | < 0:3.3.3-1.el8_4.1 | < 0:3.5.3-5.el9_2
- bsdcpio< 0:3.1.2-14.el7_9.1
- bsdcpio-debuginfo< 0:3.5.3-6.el9_6 | < 0:3.3.3-6.el8_10 | < 0:3.7.7-4.el10_0 | < 0:3.5.3-2.el9_0.1 | < 0:3.5.3-4.el9_4.1 | < 0:3.3.3-5.el8_8.1 | < 0:3.3.2-8.el8_2.1 | < 0:3.3.3-6.el8_6 | < 0:3.3.3-1.el8_4.1 | < 0:3.5.3-5.el9_2
Debian1 product
- libarchive< 3.6.2-1+deb12u3 | < 3.7.4-4
Libarchive1 product
- libarchive< 3.8.0
Ubuntu1 product
- libarchive< 3.1.2-7ubuntu2.8+esm4 | < 3.1.2-11ubuntu0.16.04.8+esm2 | < 3.2.2-3.1ubuntu0.7+esm2 | < 3.4.0-2ubuntu1.5+esm1 | < 3.6.0-1ubuntu1.5 | < 3.7.2-2ubuntu0.5 | < 3.7.7-0ubuntu3
4 vendors · 15 products
References
52 links- access.redhat.com/errata/RHSA-2025:14130Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14135Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14137Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14141Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14142Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14525Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14528Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14808Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
Show all 52 references
- access.redhat.com/errata/RHSA-2025:14810Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:14828Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2025:15024Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2370861Issue TrackingX Refsource REDHATREPORTThird Party Advisory