{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-53939","published":"2026-09-09T00:17:31.700000Z","last_modified":"2026-09-10T19:57:48.533000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-321","CWE-330"],"cpes":[],"cpes_truncated":false,"vendors":["openidc"],"products":["openidc/cjose"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-53939/","html_en":"/en/cve/CVE-2026-53939/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53939","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53939"},"untrusted":{"vendor_name":"OpenIDC","product_name":"cjose","desc_en":"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":[{"untrusted_vendor":"OpenIDC","untrusted_product":"cjose","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"79c082c438e844bc3f50657205aeada9","generated":"2026-11-26T20:57:16.276877Z","es":{"untrusted_title":"Generación de clave de cifrado predecible en OpenIDC cjose","untrusted_summary":"En cjose versiones 0.6.1 a 0.6.2.5, al cifrar JWE con algoritmos AES-CBC-HMAC, la clave de cifrado de contenido se genera como bytes cero en lugar de aleatoria. Un atacante sin autenticación puede obtener el JWE, recuperar el texto plano y falsificar o modificar el contenido. Se corrige en versión 0.6.2.6."},"en":{"untrusted_title":"Predictable encryption key generation in OpenIDC cjose","untrusted_summary":"In cjose versions 0.6.1 through 0.6.2.5, when encrypting JWE with AES-CBC-HMAC algorithms, the content-encryption key is generated as zero bytes instead of randomly. An unauthenticated attacker can obtain the JWE, recover plaintext, and forge or modify content. Fixed in version 0.6.2.6."},"remediation":{"status":"fix","fixed_versions":["0.6.2.6"],"untrusted_action_es":"Actualiza cjose a versión 0.6.2.6 o superior. Para datos ya cifrados con la clave cero, re-encripta usando AES-GCM o alg=dir, y rota cualquier secreto comprometido.","untrusted_action_en":"Update cjose to version 0.6.2.6 or later. For data already encrypted with the zero key, re-encrypt using AES-GCM or alg=dir, and rotate any compromised secrets.","vendor_url":"https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.6"},"reviewed":false},"references":[{"url":"https://github.com/OpenIDC/cjose/commit/2a6e5bd969fa20059fb00913fb9f57d77ea6a4d9","tags":[]},{"url":"https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.6","tags":[]},{"url":"https://github.com/OpenIDC/cjose/security/advisories/GHSA-f6wf-pqg3-6wqq","tags":[]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:103380","url":"https://access.redhat.com/errata/RHSA-2026:103380","published":"2026-11-25T10:07:39+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: cjose security update"}},{"source":"redhat","id":"RHSA-2026:98074","url":"https://access.redhat.com/errata/RHSA-2026:98074","published":"2026-11-13T18:50:42+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: cjose security update"}},{"source":"redhat","id":"RHSA-2026:92155","url":"https://access.redhat.com/errata/RHSA-2026:92155","published":"2026-11-13T18:48:27+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: cjose security update"}},{"source":"suse","id":"SUSE-SU-2026:23910-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623910-1/","published":"2026-09-23T19:43:44+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for cjose"}},{"source":"suse","id":"openSUSE-SU-2026:21944-1","url":"https://www.suse.com/support/update/","published":"2026-09-23T19:43:03+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for cjose"}},{"source":"suse","id":"SUSE-SU-2026:4253-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264253-1/","published":"2026-09-17T16:02:17+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for cjose"}}]}