Vulnerability MediumRUSTSEC-2024-0437 · protobuf
RUSTSEC-2024-0437: Crash due to uncontrolled recursion in protobuf crate
Short answerA security vulnerability in the protobuf crate: Crash due to uncontrolled recursion in protobuf crate. GitHub rates it Medium. Fixed in 3.7.2: update to a fixed version.
| Crate | protobuf |
|---|---|
| Type | Vulnerability (denial-of-service) |
| Affected versions | Before 3.7.2. |
| Fixed in | 3.7.2 |
| Severity | Medium (GitHub rating) |
| Published | 2024-12-12 |
| Last changed | 2026-02-04 |
| Also known as | CVE-2025-53605, GHSA-2gh3-rmm4-6rq5 |
| Affected functions | protobuf::coded_input_stream::CodedInputStream::skip_group |
What to do
- See which version you have:
cargo tree -i protobuf(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p protobuf. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleprotobuf = "3.7.2") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Affected version of this crate did not properly parse unknown fields when parsing a user-supplied input.
This allows an attacker to cause a stack overflow when parsing the mssage on untrusted data.
References
- Package: crates.io/crates/protobuf
- Advisory: rustsec.org/advisories/RUSTSEC-2024-0437.html
- Report: github.com/stepancheg/rust-protobuf/issues/749
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for protobuf
Up next
Same crateprotobuf: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?