Bug 2530243 (CVE-2026-53939) - CVE-2026-53939 cjose: OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption
Summary: CVE-2026-53939 cjose: OpenIDC/cjose uses all-zero Content Encryption Key for ...
Keywords:
Status: NEW
Alias: CVE-2026-53939
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2546575
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-08 23:41 UTC by OSIDB Bzimport
Modified: 2026-11-24 22:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:103380 0 None None None 2026-11-24 22:04:25 UTC
Red Hat Product Errata RHSA-2026:80605 0 None None None 2026-10-12 06:03:46 UTC
Red Hat Product Errata RHSA-2026:83224 0 None None None 2026-10-15 01:37:33 UTC
Red Hat Product Errata RHSA-2026:92145 0 None None None 2026-10-29 15:36:29 UTC
Red Hat Product Errata RHSA-2026:92154 0 None None None 2026-10-29 01:04:43 UTC
Red Hat Product Errata RHSA-2026:92155 0 None None None 2026-10-29 00:42:19 UTC
Red Hat Product Errata RHSA-2026:92156 0 None None None 2026-10-29 00:41:46 UTC
Red Hat Product Errata RHSA-2026:92157 0 None None None 2026-10-29 01:16:21 UTC
Red Hat Product Errata RHSA-2026:92158 0 None None None 2026-10-29 01:08:21 UTC
Red Hat Product Errata RHSA-2026:92159 0 None None None 2026-10-29 01:14:44 UTC
Red Hat Product Errata RHSA-2026:92160 0 None None None 2026-10-29 01:02:20 UTC
Red Hat Product Errata RHSA-2026:98074 0 None None None 2026-11-11 03:56:42 UTC

Description OSIDB Bzimport 2026-09-08 23:41:30 UTC
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).

Comment 1 Jon Orris 2026-10-12 06:03:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:80605 https://access.redhat.com/errata/RHSA-2026:80605

Comment 2 Jon Orris 2026-10-15 01:37:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:83224 https://access.redhat.com/errata/RHSA-2026:83224

Comment 4 Jon Orris 2026-10-29 00:41:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:92156 https://access.redhat.com/errata/RHSA-2026:92156

Comment 5 Jon Orris 2026-10-29 00:42:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:92155 https://access.redhat.com/errata/RHSA-2026:92155

Comment 6 Jon Orris 2026-10-29 01:02:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:92160 https://access.redhat.com/errata/RHSA-2026:92160

Comment 7 Jon Orris 2026-10-29 01:04:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:92154 https://access.redhat.com/errata/RHSA-2026:92154

Comment 8 Jon Orris 2026-10-29 01:08:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:92158 https://access.redhat.com/errata/RHSA-2026:92158

Comment 9 Jon Orris 2026-10-29 01:14:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:92159 https://access.redhat.com/errata/RHSA-2026:92159

Comment 10 Jon Orris 2026-10-29 01:14:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:92159 https://access.redhat.com/errata/RHSA-2026:92159

Comment 11 Jon Orris 2026-10-29 01:14:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:92159 https://access.redhat.com/errata/RHSA-2026:92159

Comment 12 Jon Orris 2026-10-29 01:16:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:92157 https://access.redhat.com/errata/RHSA-2026:92157

Comment 13 Jon Orris 2026-10-29 15:36:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:92145 https://access.redhat.com/errata/RHSA-2026:92145

Comment 14 errata-xmlrpc 2026-11-11 03:56:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98074 https://access.redhat.com/errata/RHSA-2026:98074

Comment 15 errata-xmlrpc 2026-11-24 22:04:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:103380 https://access.redhat.com/errata/RHSA-2026:103380


Note You need to log in before you can comment on or make changes to this bug.