Read the docs
TI-2026-38907 Aliases CVE-2026-53938

OpenIDC/cjose has a heap buffer overflow in AES Key Wrap decryption (A128KW/A192KW/A256KW)

Priority MEDIUM 41CWE-122Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00236 14th percentileScored 2026-11-07
Fix Fixed cjose (OpenIDC): 0.6.2.5Red Hat: 10 advisories

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

VendorProductAffected versionsFixed inStatusSource
OpenIDCcjosebefore 0.6.2.50.6.2.5Patch availableCNA
  • cjose VendorOpenIDC Affected before 0.6.2.5 Fixed in 0.6.2.5 Patch available CNA

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 Important
    cjose 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 Important
    cjose 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 Important
    mod_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 Important
    mod_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 Important
    mod_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 Important
    mod_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 Important
    cjose 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 Important
    cjose 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 Important
    cjose 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 Important
    cjose 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 →

ProductStatusPlan 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

  1. 2026-10-02 Threatist record created from CVE-2026-53938
  2. 2026-10-07 Fix available: RHSA-2026:77370 · Red Hat
  3. 2026-10-07 Fix available: RHSA-2026:77372 · Red Hat
  4. 2026-10-07 Fix available: RHSA-2026:77371 · Red Hat
  5. 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
  6. 2026-10-07 Fix available: RHSA-2026:77369 · Red Hat
  7. 2026-10-08 Fix available: Red Hat Enterprise Linux AppStream (v. 8) · Red Hat
  8. 2026-10-09 Fix available: RHSA-2026:79122 · Red Hat
  9. 2026-10-09 Fix available: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · Red Hat
  10. 2026-10-30 Fix available: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) · Red Hat
  11. 2026-10-30 Fix available: RHSA-2026:90812 · Red Hat

References

  • 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
See all 22 →

Sources