CVE-2026-25727: Rfc Rfc2822 Rs Cwe 000 Cve 2026 25727

Uncontrolled mutual recursion (CWE-674) in standard parser combinators. The functions recursively call each other when parsing nested grammar elements without tracking recursion depth. An attacker can craft deeply nested inputs (such as repeating parenthesis) to exhaust the call stack, resulting in Denial of Service (DoS) via stack overflow.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0rust
greprules fetch cve-2026-25727-rfc-rfc2822-rs-cwe-000-cve-2026-25727 --engine opengrep

Description

Uncontrolled mutual recursion (CWE-674) in standard parser combinators. The functions recursively call each other when parsing nested grammar elements without tracking recursion depth. An attacker can craft deeply nested inputs (such as repeating parenthesis) to exhaust the call stack, resulting in Denial of Service (DoS) via stack overflow.

Detection target

Not provided

Recommended fix

Not provided

False-positive notes

Not provided

Community feedback

Sign in to report false positives, mark this rule useful, or suggest metadata improvements.