Double Free Affecting libarchive package, versions [,3.8.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBARCHIVE-10360263
  • published15 Jun 2025
  • disclosed20 May 2025
  • creditUnknown

Introduced: 20 May 2025

CVE-2025-5914  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade libarchive to version 3.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Double Free via the archive_read_format_rar_seek_data function. An attacker can cause memory corruption or potentially execute arbitrary code by triggering a double-free condition through crafted input.

CVSS Base Scores

version 4.0
version 3.1