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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenIDC | cjose | >= 0.6.1, < 0.6.2.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cjose | 0.6.2.7-1 | — |
| Debian 13 | cjose | 0.6.2.3-1+deb13u1 | — |
| Debian 12 | cjose | 0.6.2.1-1+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | cjose | No fix yet | — |
| Ubuntu 26.04 LTS | cjose | No fix yet | — |
| Ubuntu 24.04 LTS | cjose | No fix yet | — |
| Ubuntu 22.04 LTS | cjose | No fix yet | — |
| Ubuntu 20.04 LTS | cjose | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | cjose | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | cjose +1 | 0.6.2.2-7.el10_2.2 | RHSA-2026:98074, RHSA-2026:80605 |
| RHEL 9 | cjose +1 | 0.6.1-17.el9_8.2 | RHSA-2026:92145 |
| RHEL 8 | cjose +1 | 0.6.1-6.module+el8.10.0+25174+9c399f63 | RHSA-2026:92157 |
| RHEL 8 | mod_auth_openidc | 2.4.9.4-9.module+el8.10.0+24880+4db9166e | RHSA-2026:92157 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10.0 EUS | cjose +1 | 0.6.2.2-7.el10_0.2 | RHSA-2026:83224 |
| RHEL 9.6 EUS | cjose +1 | 0.6.1-17.el9_6.2 | RHSA-2026:92154 |
| RHEL 9.4 E4S | cjose | 0.6.1-16.el9_4.2 | RHSA-2026:92155 |
| RHEL 9.2 E4S | cjose | 0.6.1-13.el9_2.2 | RHSA-2026:92156 |
| RHEL 8.8 TUS | cjose +1 | 0.6.1-3.module+el8.8.0+25209+e122577f.2 | RHSA-2026:92158 |
| RHEL 8.8 TUS | mod_auth_openidc | 2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3 | RHSA-2026:92158 |
| RHEL 8.8 E4S | cjose +1 | 0.6.1-3.module+el8.8.0+25209+e122577f.2 | RHSA-2026:92158 |
| RHEL 8.8 E4S | mod_auth_openidc | 2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3 | RHSA-2026:92158 |
| RHEL 8.6 EUS Long Life | cjose +1 | 0.6.1-3.module+el8.6.0+25217+11ffe348.2 | RHSA-2026:92159 |
| RHEL 8.6 EUS Long Life | mod_auth_openidc | 2.4.9.4-1.module+el8.6.0+24867+df0294a5.3 | RHSA-2026:92159 |
| RHEL 8.6 AUS | cjose +1 | 0.6.1-3.module+el8.6.0+25217+11ffe348.2 | RHSA-2026:92159 |
| RHEL 8.6 AUS | mod_auth_openidc | 2.4.9.4-1.module+el8.6.0+24867+df0294a5.3 | RHSA-2026:92159 |
| RHEL 8.4 EUS Long Life | cjose +1 | 0.6.1-3.module+el8.4.0+25223+40c6a3da.2 | RHSA-2026:92160 |
| RHEL 8.4 EUS Long Life | mod_auth_openidc | 2.4.9.4-1.module+el8.4.0+24868+593d10ef.3 | RHSA-2026:92160 |
| RHEL 8.4 AUS | cjose +1 | 0.6.1-3.module+el8.4.0+25223+40c6a3da.2 | RHSA-2026:92160 |
| RHEL 8.4 AUS | mod_auth_openidc | 2.4.9.4-1.module+el8.4.0+24868+593d10ef.3 | RHSA-2026:92160 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | cjose +1 | 0.6.2.2-7.el10_2.2 | ALSA-2026:80605 |
| AlmaLinux 9 | cjose +1 | 0.6.1-17.el9_8.2 | ALSA-2026:92145 |
| AlmaLinux 8 | cjose +1 | 0.6.1-6.module_el8.10.0+4330+15616d81 | ALSA-2026:92157 |
| AlmaLinux 8 | mod_auth_openidc | 2.4.9.4-9.module_el8.10.0+4297+63ae3533 | ALSA-2026:92157 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | cjose | 0.6.2.2-7.el10_2.2 | RLSA-2026:98074, RLSA-2026:80605 |
| Rocky Linux 10 | cjose-devel | 0.6.2.2-8.el10_3.1 | RLSA-2026:98074 |
| Rocky Linux 9 | cjose | 0.6.1-17.el9_8.2 | RLSA-2026:92145 |
| Rocky Linux 8 | mod_auth_openidc | 2.4.9.4-9.module+el8.10.0+40373+8a3f15d2 | RLSA-2026:92157 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | cjose | 0.6.1-150600.18.3.1 | SUSE-SU-2026:4251-1 |
| SLES 15 SP6 | cjose | 0.6.1-150600.18.3.1 | SUSE-SU-2026:4251-1 |
| SLES 15 SP5 | cjose | 0.6.1-150100.4.9.1 | SUSE-SU-2026:4253-1 |
| SLES 15 SP4 | cjose | 0.6.1-150100.4.9.1 | SUSE-SU-2026:4253-1 |
| SLES 12 SP5 | cjose | 0.6.1-7.8.1 | SUSE-SU-2026:4237-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | cjose | 0.6.2.3-160000.3.1 | SUSE-SU-2026:23910-1 |
| SLES for SAP 15 SP6 | cjose | 0.6.1-150600.18.3.1 | SUSE-SU-2026:4251-1 |
| SLES for SAP 15 SP5 | cjose | 0.6.1-150100.4.9.1 | SUSE-SU-2026:4253-1 |
| SLES for SAP 15 SP4 | cjose | 0.6.1-150100.4.9.1 | SUSE-SU-2026:4253-1 |
| SLES 16.0 | cjose | 0.6.2.3-160000.3.1 | SUSE-SU-2026:23910-1 |
| SLE HPC 15 SP5 | cjose | 0.6.1-150100.4.9.1 | SUSE-SU-2026:4253-1 |
| SLE HPC 15 SP4 | cjose | 0.6.1-150100.4.9.1 | SUSE-SU-2026:4253-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cjose | 0.6.2.8-2.1 | openSUSE-SU-2026:11784-1 |
| openSUSE Leap 16.0 | cjose | 0.6.2.3-160000.3.1 | openSUSE-SU-2026:21944-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | cjose +1 | 0.6.2.2-7.amzn2023 | ALAS2023-2026-3130 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cjose | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | cjose +1 | 0.6.2.2-7.el10_2.2 | ELSA-2026-80605 |
| Oracle Linux 9 | cjose +1 | 0.6.1-17.el9_8.2 | ELSA-2026-92145 |
| Oracle Linux 8 | cjose +1 | 0.6.1-6.module+el8.10.0+91088+2d069dc4 | ELSA-2026-92157 |
| Oracle Linux 8 | mod_auth_openidc | 2.4.9.4-9.module+el8.10.0+91088+2d069dc4 | ELSA-2026-92157 |
Advisories 29
- RHSA-2026:98074 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92160 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92159 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92156 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92158 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92154 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92155 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92157 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:92145 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RLSA-2026:98074 Critical: cjose security update Rocky Linux Security Advisories · Nov 13, 2026
- WID-SEC-2026-3863 Red Hat Enterprise Linux (cjose): Schwachstelle ermöglicht Manipulation von Daten BSI CERT-Bund (WID) · Nov 10, 2026
- RLSA-2026:92145 Critical: cjose security update Rocky Linux Security Advisories · Oct 30, 2026
- RLSA-2026:92157 Critical: mod_auth_openidc:2.3 security update Rocky Linux Security Advisories · Oct 30, 2026
- ALSA-2026:92145 Critical: cjose security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:80605 Critical: cjose security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:92157 Critical: mod_auth_openidc:2.3 security update AlmaLinux Security Advisories · Oct 29, 2026
- ELSA-2026-92145 Critical: cjose security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 29, 2026
- ELSA-2026-92157 Critical: mod_auth_openidc:2.3 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 29, 2026
- RHSA-2026:83224 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:80605 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RLSA-2026:80605 Critical: cjose security update Rocky Linux Security Advisories · Oct 13, 2026
- ELSA-2026-80605 Critical: cjose security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Oct 11, 2026
- SUSE-SU-2026:23910-1 Security update for cjose SUSE / openSUSE Security Updates · Sep 30, 2026
- ALAS2023-2026-3130 Important: cjose security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- openSUSE-SU-2026:21944-1 Security update for cjose SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4251-1 Security update for cjose SUSE / openSUSE Security Updates · Sep 18, 2026
- SUSE-SU-2026:4253-1 Security update for cjose SUSE / openSUSE Security Updates · Sep 18, 2026
- SUSE-SU-2026:4237-1 Security update for cjose SUSE / openSUSE Security Updates · Sep 17, 2026
- openSUSE-SU-2026:11784-1 libcjose-devel-0.6.2.8-2.1 on GA media SUSE / openSUSE Security Updates · Sep 16, 2026