Description
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). Prior to version 0.6.2.5, cjose's JWE decryption path for the AES Key Wrap key-management algorithms (`alg` = `A128KW`, `A192KW`, `A256KW`) does not validate the length of the attacker-supplied `encrypted_key` (JWE Encrypted Key) before unwrapping it into a fixed-size, heap-allocated Content Encryption Key (CEK) buffer. A remote, unauthenticated attacker who can submit a crafted JWE to an application that decrypts it with an AES-KW symmetric key can trigger an out-of-bounds heap write, corrupting the heap. This leads at minimum to a crash (denial of service) and, depending on the heap layout and allocator, may be leverageable for further memory-corruption impact. `cjose_jwe_import()` / `cjose_jwe_decrypt()` are pre-authentication entry points: they parse and process fully attacker-controlled input. Upgrade to cjose 0.6.2.5 to receive a patch. If upgrading is not immediately possible, reject the AES Key Wrap algorithms (`A128KW`/`A192KW`/`A256KW`) for untrusted JWEs at the application layer.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenIDC | cjose | < 0.6.2.5 | — |
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.1 | RHSA-2026:79122 |
| RHEL 9 | cjose +1 | 0.6.1-17.el9_8.1 | RHSA-2026:90812 |
| RHEL 8 | cjose +1 | 0.6.1-5.module+el8.10.0+24880+4db9166e | RHSA-2026:77369 |
| RHEL 8 | mod_auth_openidc | 2.4.9.4-9.module+el8.10.0+24880+4db9166e | RHSA-2026:77369 |
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.1 | RHSA-2026:73129 |
| RHEL 9.6 EUS | cjose +1 | 0.6.1-17.el9_6.1 | RHSA-2026:73128 |
| RHEL 9.4 E4S | cjose | 0.6.1-16.el9_4.1 | RHSA-2026:73018 |
| RHEL 9.2 E4S | cjose | 0.6.1-13.el9_2.1 | RHSA-2026:73017 |
| RHEL 8.8 TUS | cjose +1 | 0.6.1-3.module+el8.8.0+24970+620d53ef.1 | RHSA-2026:77370 |
| RHEL 8.8 TUS | mod_auth_openidc | 2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3 | RHSA-2026:77370 |
| RHEL 8.8 E4S | cjose +1 | 0.6.1-3.module+el8.8.0+24970+620d53ef.1 | RHSA-2026:77370 |
| RHEL 8.8 E4S | mod_auth_openidc | 2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3 | RHSA-2026:77370 |
| RHEL 8.6 EUS Long Life | cjose +1 | 0.6.1-3.module+el8.6.0+24971+334c209b.1 | RHSA-2026:77371 |
| RHEL 8.6 EUS Long Life | mod_auth_openidc | 2.4.9.4-1.module+el8.6.0+24867+df0294a5.3 | RHSA-2026:77371 |
| RHEL 8.6 AUS | cjose +1 | 0.6.1-3.module+el8.6.0+24971+334c209b.1 | RHSA-2026:77371 |
| RHEL 8.6 AUS | mod_auth_openidc | 2.4.9.4-1.module+el8.6.0+24867+df0294a5.3 | RHSA-2026:77371 |
| RHEL 8.4 EUS Long Life | cjose +1 | 0.6.1-3.module+el8.4.0+24972+63eee48e.1 | RHSA-2026:77372 |
| RHEL 8.4 EUS Long Life | mod_auth_openidc | 2.4.9.4-1.module+el8.4.0+24868+593d10ef.3 | RHSA-2026:77372 |
| RHEL 8.4 AUS | cjose +1 | 0.6.1-3.module+el8.4.0+24972+63eee48e.1 | RHSA-2026:77372 |
| RHEL 8.4 AUS | mod_auth_openidc | 2.4.9.4-1.module+el8.4.0+24868+593d10ef.3 | RHSA-2026:77372 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | cjose +1 | 0.6.2.2-7.el10_2.1 | ALSA-2026:79122 |
| AlmaLinux 9 | cjose +1 | 0.6.1-17.el9_8.1 | ALSA-2026:90812 |
| AlmaLinux 8 | cjose +1 | 0.6.1-5.module_el8.10.0+4297+63ae3533 | ALSA-2026:77369 |
| AlmaLinux 8 | mod_auth_openidc | 2.4.9.4-9.module_el8.10.0+4297+63ae3533 | ALSA-2026:77369 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | cjose | 0.6.2.2-7.el10_2.1 | RLSA-2026:79122 |
| Rocky Linux 9 | cjose | 0.6.1-17.el9_8.1 | RLSA-2026:90812 |
| Rocky Linux 8 | cjose | 0.6.1-5.module+el8.10.0+40373+8a3f15d2 | RLSA-2026:77369 |
| Rocky Linux 8 | mod_auth_openidc | 2.4.9.4-9.module+el8.10.0+40373+8a3f15d2 | RLSA-2026:77369 |
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.1 | ELSA-2026-79122 |
| Oracle Linux 9 | cjose +1 | 0.6.1-17.el9_8.1 | ELSA-2026-90812 |
| Oracle Linux 8 | cjose +1 | 0.6.1-5.module+el8.10.0+91060+e975931f | ELSA-2026-77369 |
| Oracle Linux 8 | mod_auth_openidc | 2.4.9.4-9.module+el8.10.0+91060+e975931f | ELSA-2026-77369 |
Advisories 27
- RHSA-2026:90812 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- WID-SEC-2026-3626 Red Hat Enterprise Linux (cjose): Schwachstelle ermöglicht Denial of Service und Manipulation von Daten BSI CERT-Bund (WID) · Nov 8, 2026
- RLSA-2026:90812 Important: cjose security update Rocky Linux Security Advisories · Oct 30, 2026
- ALSA-2026:90812 Important: cjose security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:79122 Important: cjose security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:77369 Important: mod_auth_openidc:2.3 security update AlmaLinux Security Advisories · Oct 29, 2026
- ELSA-2026-90812 Important: cjose security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 28, 2026
- RHSA-2026:77369 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:79122 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:77372 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:77370 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:77371 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:73129 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:73128 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:73017 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2026:73018 Red Hat Security Advisory: cjose security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RLSA-2026:79122 Important: cjose security update Rocky Linux Security Advisories · Oct 10, 2026
- ELSA-2026-77369 Important: mod_auth_openidc:2.3 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 9, 2026
- RLSA-2026:77369 Important: mod_auth_openidc:2.3 security update Rocky Linux Security Advisories · Oct 8, 2026
- ELSA-2026-79122 Important: cjose security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Oct 8, 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