CVE-2026-6654 Affecting rust-src package, versions <0:1.95.0-1.amzn2.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

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-AMZN2-RUSTSRC-16708560
  • published16 May 2026
  • disclosed20 Apr 2026

Introduced: 20 Apr 2026

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

How to fix?

Upgrade Amazon-Linux:2 rust-src to version 0:1.95.0-1.amzn2.0.2 or higher.
This issue was patched in ALAS2-2026-3296.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-src package and not the rust-src package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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