Live threats

All CVEs / Dimforge

CVE-2021-38190Dimforge Nalgebra

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Aug 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nalgebra.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io nalgebra ≥ 0.11.0 < 0.27.1 0.27.1 cargo update -p nalgebra --precise 0.27.1
crates.io nalgebra ≥ 0.11.0 < 0.27.1 0.27.1 cargo update -p nalgebra --precise 0.27.1

Per OSV / GitHub Advisories (GHSA-3w8g-xr3f-2mp8, RUSTSEC-2021-0070). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dimforgenalgebra< 0.27.1

Official sources

References

Links published by the sources. Open them with care.