PT-2026-88524
CVE-2026-53939
·
Published
2026-09-08
·
Updated
2026-11-11
Description by
CVSS 3.1
9.1
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
OpenIDC/cjose versions 0.6.1 through 0.6.2.5
Description
When encrypting a JSON Web Encryption (JWE) using AES-CBC-HMAC content-encryption algorithms (
A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512) combined with any key-management algorithm that generates a fresh content-encryption key (CEK), the cjose jwe set cek aes cbc() function fails to generate a random key. Instead, the CEK is initialized as all zero bytes. This results in the JWE being encrypted and authenticated under a fixed, publicly known key, allowing anyone who obtains the JWE to recover the plaintext or forge and modify the content.Recommendations
Update to version 0.6.2.6.
As a temporary mitigation for new ciphertexts, use an AES-GCM
enc (A128GCM, A192GCM, or A256GCM) instead of AES-CBC-HMAC.
As a temporary mitigation for new ciphertexts, use alg=dir with a caller-supplied CEK.
As a temporary mitigation for new ciphertexts, avoid using the affected algorithm pair for JWE encryption.
Re-encrypt all data previously encrypted with the affected versions and rotate any secrets contained within those JWEs. Found an issue in the description? Have something to add? Feel free to write us 👾