
CVE catalog
CVE-2021-27378
rust-rand-core: CVE-2021-27378
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.24% · Oct 25, 2026
An issue was discovered in the rand_core crate before 0.6.2 for Rust. Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-rand-core | sid | 0.10.1-1 | not affected |
| Debian | rust-rand-core | forky | 0.10.1-1 | not affected |
| Debian | rust-rand-core | trixie | 0.6.4-2 | not affected |
| Debian | rust-rand-core | bookworm | 0.6.3-2 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-rand-core | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | rust-rand-core | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | rust-rand-core | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | rust-rand-core | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-rand-core-dev]Not affected
Source package: [rust-rand-core]
Details (2)
0.6.3-2· amd64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
0.6.3-2· arm64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
- [librust-rand-core+getrandom-dev]Not affected
Source package: [rust-rand-core]
Details (2)
0.6.3-2· amd64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
0.6.3-2· arm64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
- [librust-rand-core+serde-dev]Not affected
Source package: [rust-rand-core]
Details (2)
0.6.3-2· amd64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
0.6.3-2· arm64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
- [librust-rand-core+std-dev]Not affected
Source package: [rust-rand-core]
Details (2)
0.6.3-2· amd64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
0.6.3-2· arm64 · bookwormNot affected
dsa · rust-rand-core · debian · bookworm
Observed: