What’s Vulnerable › Vulnerabilities

CVE-2025-5914: Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c

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.

Affected products

How to fix

Upgrade to a fixed version: libarchive 3.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-5914 or the next vulnerability affects your stack