CVE-2020-25576
Description
An issue was discovered in the rand_core crate before 0.4.2 for Rust. Casting of byte slices to integer slices mishandles alignment constraints.
Description as published by the source, in English.
Key facts
- Published
- 2020-09-14
- Last modified
- 2026-08-19
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.6 %
higher than 73 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Rust-random | Rand | < 0.4.2 | Affected |
Weakness type
-
CWE-704: Incorrect Type Conversion or Cast
The product does not correctly convert an object, resource, or structure from one type to a different type.
References
- https://rustsec.org/advisories/RUSTSEC-2019-0035.html
- https://rustsec.org/advisories/RUSTSEC-2019-0035.html
Related at Berigo
Articles
-
A backdoor built from ordinary Windows tools keeps taking new documents
Same product
2026-09-26
On 21 September 2026 Securonix described a backdoor it calls TASK#STOMP, assembled from Windows Script Host, PowerShell and the Task Scheduler. It se…
-
Every build of the Vidar stealer decodes its strings a different way
Same product
2026-09-26
Zscaler ThreatLabz tracked Vidar from May to early September 2026 and watched its string protection move from single byte XOR, through ChaCha20, to a…
-
Four years in prison for one of Conti's developers
Same product
2026-09-26
Oleksii Oleksiyovych Lytvynenko was sentenced in the United States on 10 September 2026 to four years in prison for his part in the Conti ransomware …
-
Flaws in a truck brake control unit can knock out ABS
Same product
2026-08-25
CISA has published an advisory on three vulnerabilities in the Bendix EC80 brake ECU used in heavy vehicles. According to the advisory, exploitation …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.