Uncontrolled Recursion in CBOR2 - #VU165940
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by terminating the Python process.
The vulnerability exists due to uncontrolled recursion in cbor2.dumps() when encoding deeply nested Python containers. A remote attacker can supply deeply nested data to an application that serializes attacker-influenced objects to exhaust the native stack and trigger a process-terminating SIGSEGV instead of a catchable Python exception.