CVE-2026-5223

Crates in third party registries can override the cached source of other crates

CVE-2026-5223 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-5223, released May 25, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.3
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0029
22nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
rust-cargo · Debian 14 0.91.0-3 DEBIAN-CVE-2026-5223 May 25, 2026
rustc · Debian 13.5 (trixie) 1.85.1+dfsg1-1+deb13u1 DEBIAN-CVE-2026-5223 May 25, 2026
rustc · Debian 14 1.95.0+dfsg1-2 DEBIAN-CVE-2026-5223 May 25, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.