# CVE-2020-35858: Out of bounds write in prost

- 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): 3.40%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-01-16T12:00:00.000Z
- Modified: 2026-07-17T16:00:03.225Z
- Also known as: GHSA-gv73-9mwv-fwgq, RUSTSEC-2020-0002
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

An issue was discovered in the prost crate before 0.6.1 for Rust. There is stack consumption via a crafted message, causing a denial of service (e.g., x86) or possibly remote code execution (e.g., ARM).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- prost (crates.io): before 0.6.1; from 0.0.0-0 before 0.6.1
- prost_project prost: before 0.6.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`
- 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-2020-0002.html> (exploit, advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35858> (advisory)
- <https://github.com/danburkert/prost/issues/267> (report, web)
- <https://github.com/danburkert/prost/commit/04091d3e745c27590a5f1b7f581793e4159486b5> (web)
- <https://github.com/danburkert/prost> (package)
- <https://crates.io/crates/prost> (package)

## Sources

- CVE List: [CVE-2020-35858](https://www.cve.org/CVERecord?id=CVE-2020-35858), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-gv73-9mwv-fwgq](https://github.com/advisories/GHSA-gv73-9mwv-fwgq), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0002](https://rustsec.org/advisories/RUSTSEC-2020-0002.html), CC0-1.0, modified 2026-07-17
- NVD: [CVE-2020-35858](https://nvd.nist.gov/vuln/detail/CVE-2020-35858), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35858 · Whole record: https://cve.day/CVE-2020-35858.json · Rebuilt by cve.day 2026-11-25T22:57:56.664Z
