CVE-2021-31162
CRITICAL9.8EPSS 0.74%Published: 4/14/2021Modified: 4/28/2026
Description
In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.
Affected packages (2)
- Alpine/rustfrom 0, < 1.51.0-r2
- Debian/rustcfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |