Uncontrolled Recursion in CBOR2 - #VU166239
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service by crashing the Python interpreter.
The vulnerability exists due to uncontrolled recursion in cbor2.dumps() when encoding a self-referential CBORTag without cycle detection. A remote user can submit crafted CBOR bytes d81cd9ff00d81d00 to applications that decode and re-encode untrusted data, including through py_webauthn authenticator extensions processed before signature verification, to exhaust the stack and terminate the worker process.