# CVE-2023-37464: Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose

CVE-2023-37464 is fixed in 4 products on 1 platform, first by libcjose0 0.6.0+dfsg1-1ubuntu0.1~esm1, released July 14, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-37464
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0071
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 14, 2023
- Weakness: Use of a Broken or Risky Cryptographic Algorithm
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-37464

## Description

OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). The AES GCM decryption routine incorrectly uses the Tag length from the actual Authentication Tag provided in the JWE. The spec  says that a fixed length of 16 octets must be applied. Therefore this bug allows an attacker to provide a truncated Authentication Tag and to modify the JWE accordingly. Users should upgrade to a version >= 0.6.2.2. Users unable to upgrade should avoid using AES GCM encryption and replace it with another encryption algorithm (e.g. AES CBC).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cjose Debian 11.6 (bullseye) | 0.6.1+dfsg1-1+deb11u1 | [DSA-5472-1](https://patchblox.com/security/data/fix/linux/dsa-5472-1.md) | Aug 8, 2023 |
| Linux | cjose Debian 12.15 (bookworm) | 0.6.2.1-1+deb12u1 | [DSA-5472-1](https://patchblox.com/security/data/fix/linux/dsa-5472-1.md) | Aug 8, 2023 |
| Linux | cjose Debian 13.5 (trixie) | 0.6.2.2-1 | [DEBIAN-CVE-2023-37464](https://patchblox.com/security/data/fix/linux/debian-cve-2023-37464.md) | Jul 14, 2023 |
| Linux | cjose Debian 14 | 0.6.2.2-1 | [DEBIAN-CVE-2023-37464](https://patchblox.com/security/data/fix/linux/debian-cve-2023-37464.md) | Jul 14, 2023 |
| Linux | cjose RHEL 8 | 0:0.6.1-3.module+el8.8.0+19464+578f4546 | [RHSA-2023:4418](https://patchblox.com/security/data/fix/linux/rhsa-2023-4418.md) | Aug 1, 2023 |
| Linux | cjose RHEL 9 | 0:0.6.1-13.el9_2 | [RHSA-2023:4411](https://patchblox.com/security/data/fix/linux/rhsa-2023-4411.md) | Aug 1, 2023 |
| Linux | cjose almalinux 8 | 0.6.1-3.module_el8.8.0+3591+c9939da8 | [ALSA-2023:4418](https://patchblox.com/security/data/fix/linux/alsa-2023-4418.md) | Aug 1, 2023 |
| Linux | cjose almalinux 9 | 0.6.1-13.el9_2.alma | [ALSA-2023:4411](https://patchblox.com/security/data/fix/linux/alsa-2023-4411.md) | Aug 1, 2023 |
| Linux | cjose ol 8 | 0:0.6.1-3.module+el8.8.0+21137+b6cedbc2 | [ELSA-2023-4418](https://patchblox.com/security/data/fix/linux/elsa-2023-4418.md) | Aug 2, 2023 |
| Linux | cjose ol 9 | 0:0.6.1-13.el9_2 | [ELSA-2023-4411](https://patchblox.com/security/data/fix/linux/elsa-2023-4411.md) | Aug 2, 2023 |
| Linux | cjose rocky 8 | 0:0.6.1-3.module+el8.8.0+1406+4a7f5371 | [RLSA-2023:4418](https://patchblox.com/security/data/fix/linux/rlsa-2023-4418.md) | Aug 8, 2023 |
| Linux | cjose-devel RHEL 8 | 0:0.6.1-3.module+el8.8.0+19464+578f4546 | [RHSA-2023:4418](https://patchblox.com/security/data/fix/linux/rhsa-2023-4418.md) | Aug 1, 2023 |
| Linux | cjose-devel almalinux 8 | 0.6.1-3.module_el8.8.0+3591+c9939da8 | [ALSA-2023:4418](https://patchblox.com/security/data/fix/linux/alsa-2023-4418.md) | Aug 1, 2023 |
| Linux | cjose-devel ol 8 | 0:0.6.1-3.module+el8.8.0+21137+b6cedbc2 | [ELSA-2023-4418](https://patchblox.com/security/data/fix/linux/elsa-2023-4418.md) | Aug 2, 2023 |
| Linux | libcjose0 Ubuntu 18.04.6 LTS (bionic) | 0.6.0+dfsg1-1ubuntu0.1~esm1 | [libcjose0 0.6.0+dfsg1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libcjose0-0.6.0-dfsg1-1ubuntu0.1-esm1.md) | Jul 14, 2023 |
| Linux | libcjose0 Ubuntu 20.04 LTS (focal) | 0.6.1+dfsg1-1ubuntu0.1 | [libcjose0 0.6.1+dfsg1-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcjose0-0.6.1-dfsg1-1ubuntu0.1.md) | Jul 14, 2023 |
| Linux | libcjose0 Ubuntu 22.04.1 LTS (jammy) | 0.6.1+dfsg1-3ubuntu1.1 | [libcjose0 0.6.1+dfsg1-3ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcjose0-0.6.1-dfsg1-3ubuntu1.1.md) | Jul 14, 2023 |
| Linux | mod_auth_openidc RHEL 8 | 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 | [RHSA-2023:4418](https://patchblox.com/security/data/fix/linux/rhsa-2023-4418.md) | Aug 1, 2023 |
| Linux | mod_auth_openidc almalinux 8 | 2.4.9.4-1.module_el8.7.0+3305+9a59f0c3 | [ALSA-2023:4418](https://patchblox.com/security/data/fix/linux/alsa-2023-4418.md) | Aug 1, 2023 |
| Linux | mod_auth_openidc ol 8 | 0:2.4.9.4-1.module+el8.7.0+20769+fca4d9d0 | [ELSA-2023-4418](https://patchblox.com/security/data/fix/linux/elsa-2023-4418.md) | Aug 2, 2023 |
| Linux | mod_auth_openidc rocky 8 | 0:2.4.9.4-1.module+el8.7.0+1061+55d14382 | [RLSA-2023:4418](https://patchblox.com/security/data/fix/linux/rlsa-2023-4418.md) | Aug 8, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
