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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | cargo | All versions, no fix listed |
| Debian:12 | rust-cargo | All versions, no fix listed |
| Debian:13 | rust-cargo | All versions, no fix listed |
| Debian:14 | rust-cargo | All versions before 0.91.0-3 (fixed in 0.91.0-3) |
| Debian:12 | rustc | All versions, no fix listed |
| Debian:13 | rustc | All versions before 1.85.1+dfsg1-1+deb13u1 (fixed in 1.85.1+dfsg1-1+deb13u1) |
| Debian:14 | rustc | All versions before 1.95.0+dfsg1-2 (fixed in 1.95.0+dfsg1-2) |