Uncontrolled Recursion in CBOR2 - #VU162743
Published: November 9, 2026
Vulnerability details
The vulnerability allows a remote unauthenticated attacker to crash services that decode untrusted CBOR using the cbor2 native extension.
The vulnerability exists due to shared-reference tags bypassing the max_depth guard in cbor2.loads(), permitting deeply nested map keys that trigger uncontrolled native recursion during hashing. A remote unauthenticated attacker can submit a crafted CBOR message to cause an uncatchable stack overflow that terminates the decoding process.