Summary
It was discovered that JOSE for C/C++ did not validate the length of the
encrypted key when decrypting JWE objects that used AES Key Wrap key
management, leading to a heap buffer overflow. A remote attacker could
possibly use this issue to cause applications using JOSE for C/C++ to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2026-53938)
It was discovered that JOSE for C/C++ used an all-zero content encryption
key instead of a randomly generated one when encrypting JWE objects with
AES-CBC-HMAC content encryption. An attacker could possibly use this issue
to recover the plaintext of the encrypted data or forge encrypted data.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04
LTS, and Ubuntu 26.04 LTS. (CVE-2026-53939)
Fixed packages 5
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | cjose | 0.6.0+dfsg1-1ubuntu0.1~esm2 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | cjose | 0.6.1+dfsg1-1ubuntu0.1+esm1 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | cjose | 0.6.1+dfsg1-3ubuntu1.1+esm1 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | cjose | 0.6.2.2-1ubuntu0.1~esm1 |
| Ubuntu · Pro 26.04 LTS Pro:26.04:LTS | cjose | 0.6.2.4-1ubuntu0.1~esm1 |