What’s Vulnerable › Vulnerabilities
CVE-2021-38190
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-08-08 · updated 2026-06-17
- Weakness: CWE-119
Description
An issue was discovered in the nalgebra crate before 0.27.1 for Rust. It allows out-of-bounds memory access because it does not ensure that the number of elements is equal to the product of the row count and column count.
Affected products
- Dimforge Nalgebra: before 0.27.1 — fixed in 0.27.1
How to fix
Upgrade to a fixed version: Dimforge Nalgebra 0.27.1. Check the vendor advisory for mitigations.
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nalgebra/RUSTSEC-2021-0070.md
- https://rustsec.org/advisories/RUSTSEC-2021-0070.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nalgebra/RUSTSEC-2021-0070.md
- https://rustsec.org/advisories/RUSTSEC-2021-0070.html
Get alerted when CVE-2021-38190 or the next vulnerability affects your stack