ADVISORIES

Amazon Linux Security Advisory

ALAS2-2026-3296

Amazon Linux 2 2017.12 - ALAS2-2026-3296: important priority package update for rust

Important CVE-2026-6654

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-6654: 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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2cargo
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2clippy
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-analyzer
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-debugger-common
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-doc
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-gdb
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-src
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-std-static
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-toolset
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rust-toolset-srpm-macros
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)
Amazon Linux:2rustfmt
All versions before 1.95.0-1.amzn2.0.2 (fixed in 1.95.0-1.amzn2.0.2)

References