Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. protobuf
  4. ›
  5. CVE-2025-53605

CVE-2025-53605: Crash due to uncontrolled recursion in protobuf crate

March 7, 2025 (updated August 1, 2025)

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.

References

  • github.com/advisories/GHSA-2gh3-rmm4-6rq5
  • github.com/stepancheg/rust-protobuf
  • github.com/stepancheg/rust-protobuf/commit/f06992f46771c0a092593b9ebf7afd48740b3ed6
  • github.com/stepancheg/rust-protobuf/issues/749
  • nvd.nist.gov/vuln/detail/CVE-2025-53605
  • rustsec.org/advisories/RUSTSEC-2024-0437.html

Code Behaviors & Features

Detect and mitigate CVE-2025-53605 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.2

Fixed versions

  • 3.7.2

Solution

Upgrade to version 3.7.2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

cargo/protobuf/CVE-2025-53605.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:50 +0000.