CVE-2026-53938 OpenIDC/cjose has a heap buffer overflow in AES Key Wrap decryption (A128KW/A192KW/A256KW)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
21 packages: 9 fixed, 11 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/mod_auth_openidc:2.3-8040020260929135523.522a0ee4(Red Hat rhel_aus 8.4) | All versions | No fix listed | No fix yet |
| redhat/mod_auth_openidc:2.3-8040020260929135523.522a0ee4(Red Hat rhel_eus_long_life 8.4) | All versions | No fix listed | No fix yet |
| redhat/mod_auth_openidc:2.3-8060020260929134527.ad008a3a(Red Hat rhel_aus 8.6) | All versions | No fix listed | No fix yet |
| redhat/mod_auth_openidc:2.3-8060020260929134527.ad008a3a(Red Hat rhel_eus_long_life 8.6) | All versions | No fix listed | No fix yet |
| redhat/mod_auth_openidc:2.3-8080020260929133202.63b34585(Red Hat rhel_e4s 8.8) | All versions | No fix listed | No fix yet |
| redhat/mod_auth_openidc:2.3-8080020260929133202.63b34585(Red Hat rhel_tus 8.8) | All versions | No fix listed | No fix yet |
| redhat/mod_auth_openidc:2.3-8100020260914112224.489197e6(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| ubuntu/cjose(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/cjose(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/cjose(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/cjose(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/cjose(Debian 12) | < 0.6.2.1-1+deb12u2; = 0.6.2.1-1; = 0.6.2.1-1+deb12u1 | 0.6.2.1-1+deb12u2 | Fixed |
| debian/cjose(Debian 13) | < 0.6.2.3-1+deb13u1; = 0.6.2.3-1 | 0.6.2.3-1+deb13u1 | Fixed |
| debian/cjose(Debian 14) | < 0.6.2.7-1; = 0.6.2.3-1; = 0.6.2.4-1 | 0.6.2.7-1 | Fixed |
| redhat/cjose(Red Hat enterprise_linux 10.2) | < 0.6.2.2-7.el10_2.1 | 0.6.2.2-7.el10_2.1 | Fixed |
| redhat/cjose(Red Hat enterprise_linux 9) | < 0.6.1-17.el9_8.1 | 0.6.1-17.el9_8.1 | Fixed |
| redhat/cjose(Red Hat enterprise_linux_eus 10.0) | < 0.6.2.2-7.el10_0.1 | 0.6.2.2-7.el10_0.1 | Fixed |
| redhat/cjose(Red Hat rhel_e4s 9.2) | < 0.6.1-13.el9_2.1 | 0.6.1-13.el9_2.1 | Fixed |
| redhat/cjose(Red Hat rhel_e4s 9.4) | < 0.6.1-16.el9_4.1 | 0.6.1-16.el9_4.1 | Fixed |
| redhat/cjose(Red Hat rhel_eus 9.6) | < 0.6.1-17.el9_6.1 | 0.6.1-17.el9_6.1 | Fixed |
| OpenIDC cjose | = < 0.6.2.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenIDC cjose | = < 0.6.2.5 | No fix listed |
| redhat/cjose(Red Hat:enterprise_linux:10.2) | < 0.6.2.2-7.el10_2.1 | 0.6.2.2-7.el10_2.1 |
| redhat/cjose(Red Hat:enterprise_linux_eus:10.0) | < 0.6.2.2-7.el10_0.1 | 0.6.2.2-7.el10_0.1 |
| redhat/mod_auth_openidc:2.3-8100020260914112224.489197e6(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/mod_auth_openidc:2.3-8040020260929135523.522a0ee4(Red Hat:rhel_aus:8.4) | All versions | No fix listed |
| redhat/mod_auth_openidc:2.3-8040020260929135523.522a0ee4(Red Hat:rhel_eus_long_life:8.4) | All versions | No fix listed |
| redhat/mod_auth_openidc:2.3-8060020260929134527.ad008a3a(Red Hat:rhel_aus:8.6) | All versions | No fix listed |
| redhat/mod_auth_openidc:2.3-8060020260929134527.ad008a3a(Red Hat:rhel_eus_long_life:8.6) | All versions | No fix listed |
| redhat/mod_auth_openidc:2.3-8080020260929133202.63b34585(Red Hat:rhel_tus:8.8) | All versions | No fix listed |
| redhat/mod_auth_openidc:2.3-8080020260929133202.63b34585(Red Hat:rhel_e4s:8.8) | All versions | No fix listed |
| redhat/cjose(Red Hat:enterprise_linux:9) | < 0.6.1-17.el9_8.1 | 0.6.1-17.el9_8.1 |
| redhat/cjose(Red Hat:rhel_e4s:9.2) | < 0.6.1-13.el9_2.1 | 0.6.1-13.el9_2.1 |
| redhat/cjose(Red Hat:rhel_e4s:9.4) | < 0.6.1-16.el9_4.1 | 0.6.1-16.el9_4.1 |
| redhat/cjose(Red Hat:rhel_eus:9.6) | < 0.6.1-17.el9_6.1 | 0.6.1-17.el9_6.1 |
| debian/cjose(Debian:12) | < 0.6.2.1-1+deb12u2 | 0.6.2.1-1+deb12u2 |
| debian/cjose(Debian:12) | = 0.6.2.1-1 | No fix listed |
| debian/cjose(Debian:12) | = 0.6.2.1-1+deb12u1 | No fix listed |
| debian/cjose(Debian:13) | < 0.6.2.3-1+deb13u1 | 0.6.2.3-1+deb13u1 |
| debian/cjose(Debian:13) | = 0.6.2.3-1 | No fix listed |
| debian/cjose(Debian:14) | < 0.6.2.7-1 | 0.6.2.7-1 |
| debian/cjose(Debian:14) | = 0.6.2.3-1 | No fix listed |
| debian/cjose(Debian:14) | = 0.6.2.4-1 | No fix listed |
| ubuntu/cjose(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/cjose(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cjose(Ubuntu:26.04) | All versions | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/cjose(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-75r7-f5cv-g3wj
- https://github.com/OpenIDC/cjose/commit/8c51d245273583a658f24ef7b08ba22f848a34a5
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:79122 patch vendor-advisory
- RHSA-2026:73129 patch vendor-advisory
- RHSA-2026:77369 patch vendor-advisory
- RHSA-2026:77372 patch vendor-advisory
- RHSA-2026:77371 patch vendor-advisory
- RHSA-2026:77370 patch vendor-advisory
- RHSA-2026:90812 patch vendor-advisory
- RHSA-2026:73017 patch vendor-advisory
- RHSA-2026:73018 patch vendor-advisory
- RHSA-2026:73128 patch vendor-advisory
- Red Hat Bugzilla 2530240 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-53938 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-74298 third-party-advisory