ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-5223

Details

Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is medium for users of third-party registries. Users of crates.io are not affected, as crates.io forbids uploading crates containing any symlink.

Affected packages

EcosystemPackageAffected versions
Debian:12cargo
All versions, no fix listed
Debian:12rust-cargo
All versions, no fix listed
Debian:13rust-cargo
All versions, no fix listed
Debian:14rust-cargo
All versions before 0.91.0-3 (fixed in 0.91.0-3)
Debian:12rustc
All versions, no fix listed
Debian:13rustc
All versions before 1.85.1+dfsg1-1+deb13u1 (fixed in 1.85.1+dfsg1-1+deb13u1)
Debian:14rustc
All versions before 1.95.0+dfsg1-2 (fixed in 1.95.0+dfsg1-2)

References