Double Free Affecting rust-analyzer package, versions <20240722-r3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.56% (46th 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-WOLFILATEST-RUSTANALYZER-15414150
  • published5 Mar 2026
  • disclosed13 May 2025

Introduced: 13 May 2025

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

How to fix?

Upgrade Wolfi rust-analyzer to version 20240722-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-analyzer package and not the rust-analyzer package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

In crossbeam-channel rust crate, the internal Channel type's Drop method has a race condition which could, in some circumstances, lead to a double-free that could result in memory corruption.

CVSS Base Scores

version 3.1