CVE-2021-26306 json
Soundness issue in raw-cpuid
published 2021-01-20 5 y ago modified 2026-06-17 4 mo ago also CVE-2021-26307 , GHSA-hvqc-pc78-x9wh , GHSA-jrf8-cmgg-gv2m , RUSTSEC-2021-0013 , EUVD-2021-1761
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
An issue was discovered in the raw-cpuid crate before 9.0.0 for Rust. It has unsound transmute calls within as_string() methods.
Patch / fix
Exploit prediction
1.28% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | raw-cpuid | <9.0.0 >=0.0.0-0, <9.0.0 |
9.0.0 |
Classification
References
-
github.com
/gz/rust-cpuid/commit/91b676eecd01f2163e2984215e2c0ac89e30ce75
web
-
rustsec.org
/advisories/RUSTSEC-2021-0013.html
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-26306
advisory
-
github.com
/gz/rust-cpuid/issues/40
web
-
github.com
/RustSec/advisory-db/pull/614
web
-
github.com
/gz/rust-cpuid
package
-
nvd.nist.gov
/vuln/detail/CVE-2021-26307
advisory
-
github.com
/gz/rust-cpuid/issues/41
web
-
crates.io
/crates/raw-cpuid
package
Sources
- CVE List CVE-2021-26306
- GitHub Advisory GHSA-hvqc-pc78-x9wh
- GitHub Advisory GHSA-jrf8-cmgg-gv2m
- NVD CVE-2021-26306
- OSV RUSTSEC-2021-0013
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.