{"id":"CVE-2020-35858","aliases":["RUSTSEC-2020-0002","GHSA-gv73-9mwv-fwgq"],"title":"Parsing a specially crafted message can result in a stack overflow","summary":"Parsing a specially crafted message can result in a stack overflow","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","vendor":"prost","product":"prost","ecosystem":"rust","affected":["prost >= 0.0.0-0, < 0.6.1"],"patched":["prost 0.6.1"],"published":"2020-01-16","updated":"2026-07-17","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2020-0002","references":[{"url":"https://crates.io/crates/prost"},{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0002.html"},{"url":"https://github.com/danburkert/prost/issues/267"}],"tags":["osv","rust"],"epss":0.0326,"epssPercentile":0.8782,"ingestedAt":"2026-07-17T19:00:51.738Z","slug":"CVE-2020-35858","body":"## Overview\n\nAffected versions of this crate contained a bug in which decoding untrusted\ninput could overflow the stack.\n\nOn architectures with stack probes (like x86), this can be used for denial of\nservice attacks, while on architectures without stack probes (like ARM)\noverflowing the stack is unsound and can result in potential memory corruption\n(or even RCE).\n \nThe flaw was quickly corrected by [@danburkert](https://github.com/danburkert) and released in\nversion 0.6.1.\n\n## Affected packages\n\n- `prost >= 0.0.0-0, < 0.6.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `prost 0.6.1`","depth":"midnight","depthScore":55,"depthScoreParts":{"impact":53.9,"likelihood":0.7,"exploitation":0,"ransomware":0},"changes":[]}