# CVE-2021-45691: Use of Uninitialized Resource in messagepack-rs.

- 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.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2021-01-26T12:00:00.000Z
- Modified: 2026-06-17T04:13:57.400Z
- Also known as: GHSA-hr52-f9vp-582c, GHSA-jqjj-r4qp-x2gh, GHSA-jwfh-j623-m97h, GHSA-m325-rxjv-pwph, GHSA-vw5m-qw2r-m923, RUSTSEC-2021-0092
- Related: CVE-2021-45690, CVE-2021-45692, CVE-2021-45693
- Weaknesses: CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string may read from uninitialized memory locations.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- messagepack-rs (crates.io): up to 0.8.1; from 0.0.0-0
- messagepack-rs_project messagepack-rs: before 0.8.1

## 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`
- GitHub: rating High
- 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-0092.html> (advisory, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/messagepack-rs/RUSTSEC-2021-0092.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45692> (advisory)
- <https://github.com/otake84/messagepack-rs/issues/2> (report, web)
- <https://github.com/otake84/messagepack-rs> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45693> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45691> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45690> (advisory)
- <https://crates.io/crates/messagepack-rs> (package)

## Sources

- CVE List: [CVE-2021-45691](https://www.cve.org/CVERecord?id=CVE-2021-45691), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hr52-f9vp-582c](https://github.com/advisories/GHSA-hr52-f9vp-582c), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-jqjj-r4qp-x2gh](https://github.com/advisories/GHSA-jqjj-r4qp-x2gh), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-jwfh-j623-m97h](https://github.com/advisories/GHSA-jwfh-j623-m97h), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-m325-rxjv-pwph](https://github.com/advisories/GHSA-m325-rxjv-pwph), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-vw5m-qw2r-m923](https://github.com/advisories/GHSA-vw5m-qw2r-m923), CC-BY-4.0, modified 2024-03-15
- RustSec Advisory Database: [RUSTSEC-2021-0092](https://rustsec.org/advisories/RUSTSEC-2021-0092.html), CC0-1.0, modified 2024-03-15
- NVD: [CVE-2021-45691](https://nvd.nist.gov/vuln/detail/CVE-2021-45691), Public domain, modified 2026-06-17

---

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