Heap-based buffer overflow in cjose - CVE-2026-53938

 

Heap-based buffer overflow in cjose - CVE-2026-53938

Published: June 2, 2026 / Updated: September 10, 2026


Vulnerability identifier: #VU133239
CSH Severity: High
CVSS v4: 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]
CVE-ID: CVE-2026-53938
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

cjose
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Server Applications Module
openSUSE Leap
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
cjose-devel
cjose
cjose-debugsource
libcjose0-debuginfo
libcjose0
cjose (Red Hat package)
libcjose-devel
cjose-debuginfo
mod_auth_openidc
cjose (Debian package)

How to mitigate CVE-2026-53938

Install security update from vendor's website.

cjose - update to 0.6.2.5
cjose-devel - update to 0.6.1-5
cjose - update to 0.6.1-5
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
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
libcjose0 - addressed in versions 0.6.1-7.8.1, 0.6.1-150100.4.9.1, 0.6.1-150600.18.3.1
cjose (Red Hat package) - addressed in versions 0.6.1-13.el9_2.1, 0.6.1-16.el9_4.1, 0.6.1-17.el9_6.1, 0.6.1-17.el9_8.1, 0.6.2.2-7.el10_0.1, 0.6.2.2-7.el10_2.1
libcjose-devel - addressed in versions 0.6.1-150100.4.9.1, 0.6.1-150600.18.3.1
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
mod_auth_openidc - update to 2.4.9.4-9
cjose (Debian package) - update to 0.6.2.3-1+deb13u1

External References

Related Security Bulletins