
CVE catalog
CVE-2026-53939
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption alg
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.24% · Oct 25, 2026
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption algorithm (`A128CBC-HS256`, `A192CBC-HS384`, or `A256CBC-HS512`) together with any key-management algorithm that generates a fresh content-encryption key (CEK), the CEK is all zero bytes instead of being randomly generated. The resulting JWE is therefore encrypted and authenticated under a fixed, publicly known key, so anyone who obtains the JWE can recover the plaintext and forge or modify the content. This is fixed in version 0.6.2.6 by `_cjose_jwe_set_cek_aes_cbc()` generating the CEK from `RAND_bytes`. A regression test asserts that the `encrypted_key` differs across two encryptions for each AES-CBC-HMAC variant. Until upgrading, for data encrypted with cjose, three options are available. Use an AES-GCM `enc` (`A128GCM` / `A192GCM` / `A256GCM`) instead of an AES-CBC-HMAC `enc`, use `alg=dir` with a caller-supplied CEK, or avoid using cjose for JWE encryption with the affected algorithm pair. These are mitigations for new ciphertexts only; data already encrypted under the zero key remains compromised and should be re-encrypted (and any secrets it contained rotated).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cjose | sid | 0.6.2.8-1 | fixed |
| Debian | cjose | forky | 0.6.2.8-1 | fixed |
| Debian | cjose | trixie | 0.6.2.3-1 | vulnerable |
| Debian | cjose | trixie-security | 0.6.2.3-1+deb13u1 | fixed |
| Debian | cjose | bookworm | 0.6.2.1-1+deb12u1 | vulnerable |
| Debian | cjose | bookworm-security | 0.6.2.1-1+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cjose | source | sid | 0.6.2.7-1 | not yet assigned | Not reported | Not reported |
| Debian | cjose | source | forky | 0.6.2.7-1 | not yet assigned | Not reported | Not reported |
| Debian | cjose | source | trixie | 0.6.2.3-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | cjose | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcjose0]Affected
Source package: [cjose]
Details (4)
0.6.2.1-1+deb12u1· amd64 · bookwormAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
0.6.2.1-1+deb12u1· arm64 · bookwormAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
0.6.2.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
0.6.2.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
- [libcjose-dev]Affected
Source package: [cjose]
Details (4)
0.6.2.1-1+deb12u1· amd64 · bookwormAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
0.6.2.1-1+deb12u1· arm64 · bookwormAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
0.6.2.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
0.6.2.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · cjose · debian · bookworm; nvd · cjose · debian · 12
[Debian 13 (Trixie)]
- [libcjose0]Affected
Source package: [cjose]
Details (3)
0.6.2.3-1+b1· amd64 · trixieAffected · Fixed:
0.6.2.3-1+deb13u1nvd · cjose · debian · 13
0.6.2.3-1+b1· arm64 · trixieAffected · Fixed:
0.6.2.3-1+deb13u1nvd · cjose · debian · 13
0.6.2.3-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.6.2.3-1+deb13u1nvd · cjose · debian · 13
- [libcjose-dev]Affected
Source package: [cjose]
Details (3)
0.6.2.3-1+b1· amd64 · trixieAffected · Fixed:
0.6.2.3-1+deb13u1nvd · cjose · debian · 13
0.6.2.3-1+b1· arm64 · trixieAffected · Fixed:
0.6.2.3-1+deb13u1nvd · cjose · debian · 13
0.6.2.3-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.6.2.3-1+deb13u1nvd · cjose · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11784-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-53939]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-53939]
- [https://security-tracker.debian.org/tracker/CVE-2026-53939]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53939.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3863.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]