Integer overflow in Libarchive
CVE-2025-5914
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 42.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libarchive
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux — versions 6.0, 7.0, 8.0
- Red Hat Openshift Container Platform — versions 4.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (11notes/docker-paperless-ngx, ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2025:14130 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14135 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14137 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14141 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14142 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14525 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14528 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14594 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14644 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2025:14808 (vendor-advisory, Third Party Advisory)