# CVE-2021-29936: Free of uninitialized memory in adtensor

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.37%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-11T12:00:00.000Z
- Modified: 2026-06-17T03:48:28.340Z
- Also known as: GHSA-rg4m-gww5-7p47, RUSTSEC-2021-0045
- Weaknesses: CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the adtensor crate through 2021-01-11 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- adtensor (crates.io): up to 0.0.3; from 0.0.0-0
- adtensor_project adtensor: up to 2021-01-11

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- RustSec Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0045.html> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29936> (advisory)
- <https://github.com/charles-r-earp/adtensor/issues/4> (report, web)
- <https://github.com/charles-r-earp/adtensor> (package)
- <https://crates.io/crates/adtensor> (package)

## Sources

- CVE List: [CVE-2021-29936](https://www.cve.org/CVERecord?id=CVE-2021-29936), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-rg4m-gww5-7p47](https://github.com/advisories/GHSA-rg4m-gww5-7p47), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0045](https://rustsec.org/advisories/RUSTSEC-2021-0045.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-29936](https://nvd.nist.gov/vuln/detail/CVE-2021-29936), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29936 · Whole record: https://cve.day/CVE-2021-29936.json · Rebuilt by cve.day 2026-11-25T22:58:00.539Z
