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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 0.6.2.2 (CNA); fix release not confirmed
- Status: published
- Published: 2023-07-14 · Modified: 2025-02-13
- Aliases: MGASA-2023-0350, SUSE-SU-2023:3030-1, SUSE-SU-2023:3230-1, RHSA-2023:4408, RHSA-2023:4409, RHSA-2023:4410, RHSA-2023:4411, RHSA-2023:4417, RHSA-2023:4418, RHSA-2023:4429, UBUNTU-CVE-2023-37464, USN-6307-1, DEBIAN-CVE-2023-37464, DLA-3515-1, DSA-5472-1, ALPINE-CVE-2023-37464
- Record: https://cvemate.com/vulnerability/CVE-2023-37464 · JSON: https://cvemate.com/vulnerability/CVE-2023-37464/json

## Description

```text
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).
```

## Signals

- CVSS: 8.6 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- EPSS: 0.716%, percentile 55.111%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 40)

- alpine cjose (Alpine Linux): \< 0.6.2.2-r0
- cisco cjose: \< 0.6.2.2
- debian cjose (Debian): \< 0.6.2.2-1 \| \< 0.6.1+dfsg1-1+deb10u1 \| \< 0.6.1+dfsg1-1+deb11u1 \| \< 0.6.2.1-1+deb12u1
- ubuntu cjose (Ubuntu): All versions (No fix recorded) \| \< 0.6.0+dfsg1-1ubuntu0.1~esm1 \| \< 0.6.1+dfsg1-1ubuntu0.1 \| \< 0.6.1+dfsg1-3ubuntu1.1
- mageia cjose (Mageia): \< 0.6.1-1.1.mga8
- mageia cjose (Mageia): \< 0.6.1-3.1.mga9
- openidc cjose: \< 0.6.2.2
- opensuse cjose&distro=openSUSE Leap 15.4 (openSUSE): \< 0.6.1-150100.4.6.1
- opensuse cjose&distro=openSUSE Leap 15.5 (openSUSE): \< 0.6.1-150100.4.6.1
- redhat cjose (Red Hat): \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee \| \< 0:0.6.1-13.el9\_2 \| \< 0:0.6.1-13.el9\_0 \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1
- redhat cjose-debuginfo (Red Hat): \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee \| \< 0:0.6.1-13.el9\_2 \| \< 0:0.6.1-13.el9\_0 \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1
- redhat cjose-debugsource (Red Hat): \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee \| \< 0:0.6.1-13.el9\_2 \| \< 0:0.6.1-13.el9\_0 \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1
- redhat cjose-devel (Red Hat): \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.1.0+19504+b2d26fa1
- redhat mod\_auth\_openidc (Red Hat): \< 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 \| \< 0:2.3.7-8.module+el8.4.0+9707+f2438af7 \| \< 0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3 \| \< 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 \| \< 0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3
- redhat mod\_auth\_openidc-debuginfo (Red Hat): \< 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 \| \< 0:2.3.7-8.module+el8.4.0+9707+f2438af7 \| \< 0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3 \| \< 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 \| \< 0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3
- redhat mod\_auth\_openidc-debugsource (Red Hat): \< 0:2.3.7-11.module+el8.6.0+14082+b6f23e95 \| \< 0:2.3.7-8.module+el8.4.0+9707+f2438af7 \| \< 0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3 \| \< 0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6 \| \< 0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3
- suse cjose&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 0.6.1-150100.4.6.1
- suse cjose&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 0.6.1-150100.4.6.1
- suse cjose&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 0.6.1-150100.4.6.1
- suse cjose&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 0.6.1-150100.4.6.1

## References (first 20 of 38)

- <https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj>
- <https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e>
- <https://datatracker.ietf.org/doc/html/rfc7518#section-4.7>
- <https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2>
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html>
- <https://www.debian.org/security/2023/dsa-5472>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/>
- <https://advisories.mageia.org/MGASA-2023-0350.html>
- <https://bugs.mageia.org/show_bug.cgi?id=32274>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20233030-1/>
- <https://bugzilla.suse.com/1213385>
- <https://www.suse.com/security/cve/CVE-2023-37464>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20233230-1/>
- <https://access.redhat.com/errata/RHSA-2023:4408>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2223295>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_4408.json>
- <https://access.redhat.com/security/cve/CVE-2023-37464>

---

Data as of 2026-12-05T11:37:24.602Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
