Vulnerabilities · 2025 · Libarchive
CVE-2025-5914
Libarchive vulnerability
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.
Affected products
Libarchive, Openshift Container Platform, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libarchive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/libarchive/libarchive/pull/2598 · Exploit
- access.redhat.com/errata/RHSA-2025:14130 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:14135 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:14137 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:14141 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:14142 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:14525 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:14528 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-5914
- cve.org/CVERecord?id=CVE-2025-5914
More vulnerabilities in Libarchive products
CVE-2025-60753CVE-2025-25724CVE-2025-5918CVE-2025-5917CVE-2025-5916CVE-2025-5915CVE-2025-1632CVE-2024-48958All 72
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.