Heap-based buffer overflow in cjose - CVE-2026-53938
Published: June 2, 2026 / Updated: September 10, 2026
Vulnerability details
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.
Affected software
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 12 SP5
Debian Linux
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
Server Applications Module
openSUSE Leap
openEuler
libcjose0
libcjose0-debuginfo
cjose-debugsource
libcjose-devel
cjose (Debian package)
cjose
cjose-debuginfo
cjose-devel
How to mitigate CVE-2026-53938
libcjose0 - addressed in versions 0.6.1-7.8.1, 0.6.1-150100.4.9.1, 0.6.1-150600.18.3.1
libcjose0-debuginfo - addressed in versions 0.6.1-7.8.1, 0.6.1-150100.4.9.1, 0.6.1-150600.18.3.1
cjose-debugsource - addressed in versions 0.6.1-7.8.1, 0.6.1-150100.4.9.1, 0.6.1-150600.18.3.1
libcjose-devel - addressed in versions 0.6.1-150100.4.9.1, 0.6.1-150600.18.3.1
cjose (Debian package) - update to 0.6.2.3-1+deb13u1
cjose - update to 0.6.2.7-1
cjose-debuginfo - update to 0.6.2.7-1
cjose-debugsource - update to 0.6.2.7-1
cjose-devel - update to 0.6.2.7-1