CVE-2026-6654 Affecting rust-analyzer package, versions <20260413-r1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.17% (7th 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-16437362
  • published7 May 2026
  • disclosed20 Apr 2026

Introduced: 20 Apr 2026

CVE-2026-6654  (opens in a new tab)

How to fix?

Upgrade Wolfi rust-analyzer to version 20260413-r1 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.

Double-Free / Use-After-Free (UAF) in the IntoIter::drop and ThinVec::clear functions in the thin_vec crate. A panic in ptr::drop_in_place skips setting the length to zero.

CVSS Base Scores

version 3.1