CVE Vulnerabilities

CVE-2025-5914

Double Free

Published: Jun 09, 2025 | Modified: Jun 20, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
3.9 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
Ubuntu
MEDIUM

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.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Libarchive Libarchive * 3.8.0 (excluding)
Libarchive Ubuntu devel *
Libarchive Ubuntu esm-infra-legacy/trusty *
Libarchive Ubuntu esm-infra/bionic *
Libarchive Ubuntu esm-infra/focal *
Libarchive Ubuntu esm-infra/xenial *
Libarchive Ubuntu jammy *
Libarchive Ubuntu noble *
Libarchive Ubuntu oracular *
Libarchive Ubuntu plucky *

Potential Mitigations

References