Uncontrolled Recursion in CBOR2 - #VU166239

 

Uncontrolled Recursion in CBOR2 - #VU166239

Published: November 16, 2026


Vulnerability identifier: #VU166239
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

CBOR2

Remediation

Install security update from vendor's website.

CBOR2 - update to 6.3.0

External References

Related Security Bulletins