OpenIDC/cjose has a heap buffer overflow in AES Key Wrap decryption (A128KW/A192KW/A256KW)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
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`) 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA cjose (OpenIDC) Fixed in 0.6.2.5
Red Hat 10 advisories
- RHSA-2026:90812 Released 2026-10-29 · Red Hat rating Importantcjose security update
- Red Hat Enterprise Linux AppStream (v. 9) cjose-0.6.1-17.el9_8.1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) cjose-devel-0.6.1-17.el9_8.1
- RHSA-2026:79122 Released 2026-10-08 · Red Hat rating Importantcjose security update
- Red Hat Enterprise Linux AppStream (v. 10) cjose-0.6.2.2-7.el10_2.1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) cjose-devel-0.6.2.2-7.el10_2.1
- RHSA-2026:77369 Released 2026-10-07 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream (v. 8) cjose-0.6.1-5.module+el8.10.0+24880+4db9166e.aarch64::mod_auth_openidc:2.3, cjose-0.6.1-5.module+el8.10.0+24880+4db9166e.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-5.module+el8.10.0+24880+4db9166e.s390x::mod_auth_openidc:2.3 +11
Show 7 more Red Hat advisories
- RHSA-2026:77371 Released 2026-10-07 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) cjose-0.6.1-3.module+el8.6.0+24971+334c209b.1.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.6.0+24971+334c209b.1.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.6.0+24971+334c209b.1.x86_64::mod_auth_openidc:2.3 +2
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) cjose-0.6.1-3.module+el8.6.0+24971+334c209b.1.aarch64::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.6.0+24971+334c209b.1.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.6.0+24971+334c209b.1.s390x::mod_auth_openidc:2.3 +11
- RHSA-2026:77370 Released 2026-10-07 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) cjose-0.6.1-3.module+el8.8.0+24970+620d53ef.1.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.8.0+24970+620d53ef.1.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.8.0+24970+620d53ef.1.x86_64::mod_auth_openidc:2.3 +5
- Red Hat Enterprise Linux AppStream TUS (v.8.8) cjose-0.6.1-3.module+el8.8.0+24970+620d53ef.1.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.8.0+24970+620d53ef.1.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.8.0+24970+620d53ef.1.x86_64::mod_auth_openidc:2.3 +2
- RHSA-2026:77372 Released 2026-10-07 · Red Hat rating Importantmod_auth_openidc:2.3 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) cjose-0.6.1-3.module+el8.4.0+24972+63eee48e.1.src::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.4.0+24972+63eee48e.1.x86_64::mod_auth_openidc:2.3, cjose-devel-0.6.1-3.module+el8.4.0+24972+63eee48e.1.x86_64::mod_auth_openidc:2.3 +2
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) cjose-0.6.1-3.module+el8.4.0+24972+63eee48e.1.aarch64::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.4.0+24972+63eee48e.1.ppc64le::mod_auth_openidc:2.3, cjose-0.6.1-3.module+el8.4.0+24972+63eee48e.1.s390x::mod_auth_openidc:2.3 +11
- RHSA-2026:73128 Released 2026-09-29 · Red Hat rating Importantcjose security update
- Red Hat CodeReady Linux Builder EUS (v.9.6) cjose-devel-0.6.1-17.el9_6.1
- Red Hat Enterprise Linux AppStream EUS (v.9.6) cjose-0.6.1-17.el9_6.1
- RHSA-2026:73129 Released 2026-09-29 · Red Hat rating Importantcjose security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) cjose-0.6.2.2-7.el10_0.1
- Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) cjose-devel-0.6.2.2-7.el10_0.1
- RHSA-2026:73018 Released 2026-09-29 · Red Hat rating Importantcjose security update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) cjose-0.6.1-16.el9_4.1
- RHSA-2026:73017 Released 2026-09-29 · Red Hat rating Importantcjose security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) cjose-0.6.1-13.el9_2.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder EUS (v.9.6) | Fixed | RHSA-2026:73128 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:79122 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:77369 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:90812 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2026:77372 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:77371 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:77370 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:73017 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:73018 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:73129 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:73128 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:77372 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) | Fixed | RHSA-2026:77371 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:77370 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:79122 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:90812 |
| Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) | Fixed | RHSA-2026:73129 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-53938
- 2026-10-07 Fix available: RHSA-2026:77370 · Red Hat
- 2026-10-07 Fix available: RHSA-2026:77372 · Red Hat
- 2026-10-07 Fix available: RHSA-2026:77371 · Red Hat
- 2026-10-07 Fix available: Red Hat Enterprise Linux AppStream AUS (v.8.4), Red Hat Enterprise Linux AppStream AUS (v.8.6), Red Hat Enterprise Linux AppStream E4S (v.8.8) +3 · Red Hat
- 2026-10-07 Fix available: RHSA-2026:77369 · Red Hat
- 2026-10-08 Fix available: Red Hat Enterprise Linux AppStream (v. 8) · Red Hat
- 2026-10-09 Fix available: RHSA-2026:79122 · Red Hat
- 2026-10-09 Fix available: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · Red Hat
- 2026-10-30 Fix available: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) · Red Hat
- 2026-10-30 Fix available: RHSA-2026:90812 · Red Hat
References
More OpenIDC vulnerabilities
- TI-2026-38908 OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption CVSS 3.1CRITICAL 9.1
- TI-2024-16331 Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc CVSS 3.1HIGH 7.5
- TI-2023-19073 Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose CVSS 3.1HIGH 8.6
- TI-2017-04220 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2017-03971 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2025-22673 mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data CVSS 4.0HIGH 8.2
Sources
- CVE-2026-53938 · CVE Program
- CVE-2026-53938 · NVD
- FIRST EPSS
- CVE-2026-53938 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences