Heap-based buffer overflow in cjose - #VU133239
Published: June 2, 2026
cjose
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to a heap-based buffer overflow in _cjose_jwe_decrypt_ek_aes_kw() in src/jwe.c when decrypting a crafted JWE using the AES Key Wrap algorithms. A remote attacker can submit a specially crafted JWE with an oversized encrypted_key value to cause a denial of service.
Only deployments that decrypt JWEs with A128KW, A192KW, or A256KW are affected.