Email me

Rust advisories / prost

Vulnerability CriticalRUSTSEC-2020-0002 · prost

RUSTSEC-2020-0002: Parsing a specially crafted message can result in a stack overflow

Short answerA security vulnerability in the prost crate: Parsing a specially crafted message can result in a stack overflow. Critical severity (CVSS 9.8). Fixed in 0.6.1: update to a fixed version.

Crateprost
TypeVulnerability (denial-of-service, memory-corruption)
Affected versionsBefore 0.6.1.
Fixed in0.6.1
SeverityCritical, CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2020-01-16
Last changed2026-07-17
Also known asCVE-2020-35858, GHSA-gv73-9mwv-fwgq

What to do

  1. See which version you have: cargo tree -i prost (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p prost. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example prost = "0.6.1") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

Affected versions of this crate contained a bug in which decoding untrusted input could overflow the stack.

On architectures with stack probes (like x86), this can be used for denial of service attacks, while on architectures without stack probes (like ARM) overflowing the stack is unsound and can result in potential memory corruption (or even RCE).

The flaw was quickly corrected by @danburkert and released in version 0.6.1.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Same crateprost: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ