{"id":"CVE-2026-53938","title":"OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE)","summary":"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`) do…","severity":"high","cvss":8.2,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","cwe":["CWE-122","CWE-787"],"vendor":"OpenIDC","product":"cjose","affected":["cjose < 0.6.2.5"],"published":"2026-09-09","updated":"2026-09-10","sourceUpdated":"2026-09-10T19:57:48.533","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-53938","references":[{"url":"https://github.com/OpenIDC/cjose/commit/8c51d245273583a658f24ef7b08ba22f848a34a5","label":"security-advisories@github.com"},{"url":"https://github.com/OpenIDC/cjose/security/advisories/GHSA-75r7-f5cv-g3wj","label":"security-advisories@github.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53938.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-53938"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2530240"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53938"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53938"},{"url":"https://access.redhat.com/errata/RHSA-2026:73129"},{"url":"https://access.redhat.com/errata/RHSA-2026:79122"},{"url":"https://access.redhat.com/errata/RHSA-2026:77369"},{"url":"https://access.redhat.com/errata/RHSA-2026:77372"},{"url":"https://access.redhat.com/errata/RHSA-2026:77371"},{"url":"https://access.redhat.com/errata/RHSA-2026:77370"},{"url":"https://access.redhat.com/errata/RHSA-2026:73017"},{"url":"https://access.redhat.com/errata/RHSA-2026:73018"},{"url":"https://access.redhat.com/errata/RHSA-2026:73128"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.00236,"epssPercentile":0.14537,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-09T15:51:50.383252Z"},"ingestedAt":"2026-09-09T00:15:28.923Z","patched":["enterprise_linux_appstream_eus_v_10_0","enterprise_linux_appstream_v_10","enterprise_linux_appstream_v_8","enterprise_linux_appstream_aus_v_8_4","enterprise_linux_appstream_eus_extension_v_8_4","enterprise_linux_appstream_aus_v_8_6","enterprise_linux_appstream_eus_extension_v_8_6","enterprise_linux_appstream_e4s_v_8_8","enterprise_linux_appstream_tus_v_8_8","enterprise_linux_appstream_e4s_v_9_2","enterprise_linux_appstream_e4s_v_9_4","enterprise_linux_appstream_eus_v_9_6","enterprise_linux_codeready_linux_builder_eus_v_10_0","enterprise_linux_codeready_linux_builder_v_10","codeready_linux_builder_eus_v_9_6"],"slug":"CVE-2026-53938","body":"## Overview\n\nOpenIDC/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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 9 · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53938.json)\n- **RHSA-2026:73129** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0), Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) · released 2026-09-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:73129)\n- **RHSA-2026:79122** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · released 2026-10-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:79122)\n- **RHSA-2026:77369** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-10-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:77369)\n- **RHSA-2026:77372** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream AUS (v.8.4), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) · released 2026-10-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:77372)\n- **RHSA-2026:77371** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream AUS (v.8.6), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) · released 2026-10-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:77371)\n- **RHSA-2026:77370** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · released 2026-10-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:77370)\n- **RHSA-2026:73017** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2) · released 2026-09-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:73017)\n- **RHSA-2026:73018** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4) · released 2026-09-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:73018)\n- **RHSA-2026:73128** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat CodeReady Linux Builder EUS (v.9.6) · released 2026-09-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:73128)","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":45.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}