What’s Vulnerable › Vulnerabilities
CVE-2021-26307
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-01-29 · updated 2026-06-17
Description
An issue was discovered in the raw-cpuid crate before 9.0.0 for Rust. It allows __cpuid_count() calls even if the processor does not support the CPUID instruction, which is unsound and causes a deterministic crash.
Affected products
- Raw-Cpuid Project Raw-Cpuid: before 9.0.0 — fixed in 9.0.0
How to fix
Upgrade to a fixed version: Raw-Cpuid Project Raw-Cpuid 9.0.0. Check the vendor advisory for mitigations.
References
- https://rustsec.org/advisories/RUSTSEC-2021-0013.html
- https://rustsec.org/advisories/RUSTSEC-2021-0013.html
Get alerted when CVE-2021-26307 or the next vulnerability affects your stack