CVE-2021-26307 — Raw-Cpuid
MEDIUMCVE-2021-26307 is a medium-severity (CVSS 5.5) vulnerability in raw-cpuid_project raw-cpuid. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available — see the affected versions and patch details below.
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…
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
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-cpuidraw-cpuid_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every raw-cpuid_project raw-cpuid deployment and check each version against the affected-products list above.
Fix
Apply the raw-cpuid_project raw-cpuid security patch or hotfix for CVE-2021-26307 on the affected version, following the vendor advisory for your exact build.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2021-26307 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.