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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.6.2.6 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-08 · Modified: 2026-09-09
- Aliases: UBUNTU-CVE-2026-53939, DEBIAN-CVE-2026-53939, RHSA-2026:80605, RHSA-2026:83224, RHSA-2026:92145, RHSA-2026:92154, RHSA-2026:92155, RHSA-2026:92156, RHSA-2026:92157, RHSA-2026:92158, RHSA-2026:92159, RHSA-2026:92160, RHSA-2026:98074, RHSA-2026:103380
- Record: https://cvemate.com/vulnerability/CVE-2026-53939 · JSON: https://cvemate.com/vulnerability/CVE-2026-53939/json

## Description

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

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.245%, percentile 16.816%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian cjose (Debian): All versions (No fix recorded) \| \< 0.6.2.1-1+deb12u2 \| \< 0.6.2.3-1+deb13u1 \| \< 0.6.2.7-1
- ubuntu cjose (Ubuntu): All 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
- openidc cjose: ≥ 0.6.1, \< 0.6.2.6
- redhat cjose (Red Hat): \< 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
- redhat cjose-debuginfo (Red Hat): \< 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
- redhat cjose-debugsource (Red Hat): \< 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
- redhat cjose-devel (Red Hat): \< 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
- redhat mod\_auth\_openidc (Red Hat): \< 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
- redhat mod\_auth\_openidc-debuginfo (Red Hat): \< 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
- redhat mod\_auth\_openidc-debugsource (Red Hat): \< 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

## References (first 20 of 35)

- <https://github.com/OpenIDC/cjose/security/advisories/GHSA-f6wf-pqg3-6wqq>
- <https://github.com/OpenIDC/cjose/commit/2a6e5bd969fa20059fb00913fb9f57d77ea6a4d9>
- <https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.6>
- <https://ubuntu.com/security/CVE-2026-53939>
- <https://www.cve.org/CVERecord?id=CVE-2026-53939>
- <https://security-tracker.debian.org/tracker/CVE-2026-53939>
- <https://access.redhat.com/errata/RHSA-2026:80605>
- <https://access.redhat.com/security/updates/classification/#critical>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2530243>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_80605.json>
- <https://access.redhat.com/security/cve/CVE-2026-53939>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53939>
- <https://access.redhat.com/errata/RHSA-2026:83224>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_83224.json>
- <https://access.redhat.com/errata/RHSA-2026:92145>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_92145.json>
- <https://access.redhat.com/errata/RHSA-2026:92154>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_92154.json>
- <https://access.redhat.com/errata/RHSA-2026:92155>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_92155.json>

---

Data as of 2026-12-05T11:43:10.849Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
