Uncontrolled Recursion in Nanopb - #VU162835
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to cause denial of service by crashing an application that decodes messages with Nanopb.
The vulnerability exists due to unbounded recursion in Nanopb's message decoder when processing deeply nested data against cyclic message definitions using callbacks or PB_ENABLE_MALLOC. An unauthenticated remote attacker can submit a specially crafted message with excessive nesting to exhaust the application's stack.