Advisory

GHSA-2gh3-rmm4-6rq5

Also known as: CVE-2025-53605, RUSTSEC-2024-0437

Summary

Crash due to uncontrolled recursion in protobuf crate

Details

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 message on untrusted data.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-07 20:02 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

protobuf

crates.io · All systems

Affected

  • introduced 0, fixed 3.7.2 (semver)

Fixed versions

3.7.2

Fix

  • Fixed version 3.7.2
    cargo update -p protobuf --precise 3.7.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences