Double free in CBOR2 - #VU162746
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to cause memory corruption and denial of service by crashing a Python process using cbor2.
The vulnerability exists due to a double reference decrement in cbor2's C decoder when rejecting a truncated definite-length text string with a declared length greater than 64 KiB. An unauthenticated remote attacker can supply crafted CBOR to an application using the native extension to trigger the faulty cleanup.