9.1

CVE-2026-53939: OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption

Awaiting analysis
AliasesUBUNTU-CVE-2026-53939DEBIAN-CVE-2026-53939RHSA-2026:80605
Published 08-09-2026Last modified 09-09-2026

Vulnerability summary

CVE-2026-53939 is a critical (CVSS 9.1) Use of Hard-coded Cryptographic Key vulnerability in openidc cjose. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 7

Timeline

  1. 08-09-2026
    PublishedVulnerability first disclosed.
  2. 09-09-2026
    Last modifiedVulnerability information updated.

Description

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).

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.24% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat7 products
  • cjose< 0:0.6.1-18.el9_9.1 | < 0:0.6.2.2-7.el10_2.2 | < 0:0.6.2.2-7.el10_0.2 | < 0:0.6.1-17.el9_8.2 | < 0:0.6.1-17.el9_6.2 | < 0:0.6.1-16.el9_4.2 | < 0:0.6.1-13.el9_2.2 | < 0:0.6.1-6.module+el8.10.0+25174+9c399f63 | < 0:0.6.1-3.module+el8.8.0+25209+e122577f.2 | < 0:0.6.1-3.module+el8.6.0+25217+11ffe348.2 | < 0:0.6.1-3.module+el8.4.0+25223+40c6a3da.2 | < 0:0.6.2.2-8.el10_3.1
  • cjose-debuginfo< 0:0.6.1-18.el9_9.1 | < 0:0.6.2.2-7.el10_2.2 | < 0:0.6.2.2-7.el10_0.2 | < 0:0.6.1-17.el9_8.2 | < 0:0.6.1-17.el9_6.2 | < 0:0.6.1-16.el9_4.2 | < 0:0.6.1-13.el9_2.2 | < 0:0.6.1-6.module+el8.10.0+25174+9c399f63 | < 0:0.6.1-3.module+el8.8.0+25209+e122577f.2 | < 0:0.6.1-3.module+el8.6.0+25217+11ffe348.2 | < 0:0.6.1-3.module+el8.4.0+25223+40c6a3da.2 | < 0:0.6.2.2-8.el10_3.1
  • cjose-debugsource< 0:0.6.1-18.el9_9.1 | < 0:0.6.2.2-7.el10_2.2 | < 0:0.6.2.2-7.el10_0.2 | < 0:0.6.1-17.el9_8.2 | < 0:0.6.1-17.el9_6.2 | < 0:0.6.1-16.el9_4.2 | < 0:0.6.1-13.el9_2.2 | < 0:0.6.1-6.module+el8.10.0+25174+9c399f63 | < 0:0.6.1-3.module+el8.8.0+25209+e122577f.2 | < 0:0.6.1-3.module+el8.6.0+25217+11ffe348.2 | < 0:0.6.1-3.module+el8.4.0+25223+40c6a3da.2 | < 0:0.6.2.2-8.el10_3.1
  • cjose-devel< 0:0.6.1-18.el9_9.1 | < 0:0.6.2.2-7.el10_2.2 | < 0:0.6.2.2-7.el10_0.2 | < 0:0.6.1-17.el9_8.2 | < 0:0.6.1-17.el9_6.2 | < 0:0.6.1-6.module+el8.10.0+25174+9c399f63 | < 0:0.6.1-3.module+el8.8.0+25209+e122577f.2 | < 0:0.6.1-3.module+el8.6.0+25217+11ffe348.2 | < 0:0.6.1-3.module+el8.4.0+25223+40c6a3da.2 | < 0:0.6.2.2-8.el10_3.1
  • mod_auth_openidc< 0:2.4.9.4-9.module+el8.10.0+24880+4db9166e | < 0:2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3 | < 0:2.4.9.4-1.module+el8.6.0+24867+df0294a5.3 | < 0:2.4.9.4-1.module+el8.4.0+24868+593d10ef.3
Debian1 product
  • cjoseAll versions (No fix recorded) | < 0.6.2.1-1+deb12u2 | < 0.6.2.3-1+deb13u1 | < 0.6.2.7-1
Openidc1 product
  • cjose≥ 0.6.1, < 0.6.2.6
Ubuntu1 product
  • cjoseAll versions (No fix recorded) | < 0.6.1+dfsg1-1ubuntu0.1+esm1 | < 0.6.1+dfsg1-3ubuntu1.1+esm1 | < 0.6.2.2-1ubuntu0.1~esm1 | < 0.6.2.4-1ubuntu0.1~esm1

4 vendors · 10 products

References

35 links
Show all 35 references