Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-rand-core | No fix yet | — |
| Ubuntu 26.04 LTS | rust-rand-core | No fix yet | — |
| Ubuntu 25.10 | rust-rand-core | No fix yet | — |
| Ubuntu 24.04 LTS | rust-rand-core | No fix yet | — |
| Ubuntu 22.04 LTS | rust-rand-core | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | rust-rand-core | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | librsvg2 | 2.58.1-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | rand_core | >= 0.6.0, < 0.6.2 | 0.6.2 | GHSA-w7j2-35mf-95p7 |