CVE-2026-53939

EUVD-2026-74299
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption algorithm (`A128CBC-HS256`, `A192CBC-HS384`, or `A256CBC-HS512`) together with any key-management algorithm that generates a fresh content-encryption key (CEK), the CEK is all zero bytes instead of being randomly generated. The resulting JWE is therefore encrypted and authenticated under a fixed, publicly known key, so anyone who obtains the JWE can recover the plaintext and forge or modify the content. This is fixed in version 0.6.2.6 by `_cjose_jwe_set_cek_aes_cbc()` generating the CEK from `RAND_bytes`. A regression test asserts that the `encrypted_key` differs across two encryptions for each AES-CBC-HMAC variant. Until upgrading, for data encrypted with cjose, three options are available. Use an AES-GCM `enc` (`A128GCM` / `A192GCM` / `A256GCM`) instead of an AES-CBC-HMAC `enc`,  use `alg=dir` with a caller-supplied CEK, or avoid using cjose for JWE encryption with the affected algorithm pair. These are mitigations for new ciphertexts only; data already encrypted under the zero key remains compromised and should be re-encrypted (and any secrets it contained rotated).
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.1 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 14.92%
Debian logo
Debian Releases
Debian Product
Codename
cjose
bookworm
vulnerable
bookworm (security)
vulnerable
forky
0.6.2.8-1
fixed
sid
0.6.2.8-1
fixed
trixie
vulnerable
trixie (security)
0.6.2.3-1+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
cjose
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libcjose-devel
suse enterprise sap 15 SP4
0.6.1-150100.4.9.1
fixed
suse enterprise sap 15 SP5
0.6.1-150100.4.9.1
fixed
suse enterprise sap 15 SP6
0.6.1-150600.18.3.1
fixed
suse enterprise sap 15 SP7
0.6.1-150600.18.3.1
fixed
suse enterprise server 15 SP4
0.6.1-150100.4.9.1
fixed
suse enterprise server 15 SP5
0.6.1-150100.4.9.1
fixed
suse enterprise server 15 SP6
0.6.1-150600.18.3.1
fixed
suse enterprise server 15 SP7
0.6.1-150600.18.3.1
fixed
libcjose0
suse enterprise sap 15 SP4
0.6.1-150100.4.9.1
fixed
suse enterprise sap 15 SP5
0.6.1-150100.4.9.1
fixed
suse enterprise sap 15 SP6
0.6.1-150600.18.3.1
fixed
suse enterprise sap 15 SP7
0.6.1-150600.18.3.1
fixed
suse enterprise server 15 SP4
0.6.1-150100.4.9.1
fixed
suse enterprise server 15 SP5
0.6.1-150100.4.9.1
fixed
suse enterprise server 15 SP6
0.6.1-150600.18.3.1
fixed
suse enterprise server 15 SP7
0.6.1-150600.18.3.1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
cjose
Amazon Linux 2023
0:0.6.2.2-7.amzn2023
fixed
cjose-debuginfo
Amazon Linux 2023
0:0.6.2.2-7.amzn2023
fixed
cjose-debugsource
Amazon Linux 2023
0:0.6.2.2-7.amzn2023
fixed
cjose-devel
Amazon Linux 2023
0:0.6.2.2-7.amzn2023
fixed