SB2026091601 - Debian update for cjose
Published: September 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Heap-based buffer overflow (CVE-ID: CVE-2026-53938)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to a heap-based buffer overflow in _cjose_jwe_decrypt_ek_aes_kw() in src/jwe.c when decrypting a crafted JWE using the AES Key Wrap algorithms. A remote attacker can submit a specially crafted JWE with an oversized encrypted_key value to cause a denial of service.
Only deployments that decrypt JWEs with A128KW, A192KW, or A256KW are affected.
2) Use of Hard-coded Cryptographic Key (CVE-ID: CVE-2026-53939)
CWE-ID: CWE-321 - Use of Hard-coded Cryptographic Key
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to disclose plaintext and modify protected content.
The vulnerability exists due to use of a hard-coded cryptographic key in JWE encryption in src/jwe.c when encrypting a JWE with an AES-CBC-HMAC content-encryption algorithm together with a key-management algorithm that generates a fresh CEK. A remote attacker can obtain a produced JWE and decrypt or forge its contents to disclose plaintext and modify protected content.
This affects only JWEs produced by the vulnerable encryption path; the issue does not affect the decryption path.
Remediation
Install update from vendor's website.