cve.bz

CVE-2026-53938 openidc cjose: Heap-based Buffer Overflow

8.2 highEPSS 0.2%

High (8.2) in openidc cjose. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). Prior to version 0.6.2.5, cjose's JWE decryption path for the AES Key Wrap key-management algorithms (`alg` = `A128KW`, `A192KW`, `A256KW`) does not validate the length of the attacker-supplied `encrypted_key` (JWE Encrypted Key) before unwrapping it into a fixed-size, heap-allocated Content Encryption Key (CEK) buffer. A remote, unauthenticated attacker who can submit a crafted JWE to an application that decrypts it with an AES-KW symmetric key can trigger an out-of-bounds heap write, corrupting the heap. This leads at minimum to a crash (denial of service) and, depending on the heap layout and allocator, may be leverageable for further memory-corruption impact. `cjose_jwe_import()` / `cjose_jwe_decrypt()` are pre-authentication entry points: they parse and process fully attacker-controlled input. Upgrade to cjose 0.6.2.5 to receive a patch. If upgrading is not immediately possible, reject the AES Key Wrap algorithms (`A128KW`/`A192KW`/`A256KW`) for untrusted JWEs at the application layer.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-53938 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53938?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53938?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-53938 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenIDC cjose< 0.6.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cjose0.6.2.1-1+deb12u2DEBIAN-CVE-2026-53938 DLA-4887-1
Debian13cjose0.6.2.3-1+deb13u1DEBIAN-CVE-2026-53938 DSA-6499-1
Debian14cjose0.6.2.7-1DEBIAN-CVE-2026-53938
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morecjoseno fix listedUBUNTU-CVE-2026-53938
Red Hatenterprise_linux:8::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-5.module+el8.10.0+24880+4db9166eRHSA-2026:77369
Red Hatenterprise_linux:8::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-9.module+el8.10.0+24880+4db9166eRHSA-2026:77369
Red Hatenterprise_linux:9::appstreamcjose, cjose-debuginfo, cjose-debugsource0:0.6.1-17.el9_8.1RHSA-2026:90812
Red Hatenterprise_linux:9::crbcjose-devel, cjose-debuginfo, cjose-debugsource0:0.6.1-17.el9_8.1RHSA-2026:90812
Red Hatenterprise_linux:10.2cjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.2.2-7.el10_2.1RHSA-2026:79122
Red Hatenterprise_linux_eus:10.0cjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.2.2-7.el10_0.1RHSA-2026:73129
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-3.module+el8.4.0+24972+63eee48e.1RHSA-2026:77372
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-1.module+el8.4.0+24868+593d10ef.3RHSA-2026:77372
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-3.module+el8.6.0+24971+334c209b.1RHSA-2026:77371
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-1.module+el8.6.0+24867+df0294a5.3RHSA-2026:77371
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamcjose, cjose-devel, cjose-debuginfo and 1 more0:0.6.1-3.module+el8.8.0+24970+620d53ef.1RHSA-2026:77370
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreammod_auth_openidc, mod_auth_openidc-debuginfo, mod_auth_openidc-debugsource0:2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3RHSA-2026:77370
4 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morecjose0.6.1-150100.4.9.1SUSE-SU-2026:4253-1
SUSELinux Enterprise Module for Server Applications 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6cjose0.6.1-150600.18.3.1SUSE-SU-2026:4251-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5cjose0.6.1-7.8.1SUSE-SU-2026:4237-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cjose0.6.2.3-160000.3.1SUSE-SU-2026:23910-1
openSUSELeap 16.0cjose0.6.2.3-160000.3.1openSUSE-SU-2026:21944-1
openSUSETumbleweedcjose0.6.2.8-2.1openSUSE-SU-2026:11784-1
AlmaLinux8cjose, cjose-devel0.6.1-5.module_el8.10.0+4297+63ae3533ALSA-2026:77369
AlmaLinux8mod_auth_openidc2.4.9.4-9.module_el8.10.0+4297+63ae3533ALSA-2026:77369
AlmaLinux9cjose, cjose-devel0.6.1-17.el9_8.1ALSA-2026:90812
AlmaLinux10cjose, cjose-devel0.6.2.2-7.el10_2.1ALSA-2026:79122
Rocky Linux8cjose0:0.6.1-5.module+el8.10.0+40373+8a3f15d2RLSA-2026:77369
Rocky Linux8mod_auth_openidc0:2.4.9.4-9.module+el8.10.0+40373+8a3f15d2RLSA-2026:77369
Rocky Linux9cjose0:0.6.1-17.el9_8.1RLSA-2026:90812
Rocky Linux10cjose0:0.6.2.2-7.el10_2.1RLSA-2026:79122
Azure Linux3cjoseno fix listedAZL-101093

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity flaw because an unauthenticated remote attacker can exploit it to induce an application crash or corrupt heap memory without requiring user interaction. In Red Hat Enterprise Linux, cjose is shipped primarily as an underlying dependency for OpenID Connect authentication modules, including mod_auth_openidc. Exposure is limited to environments where applications process untrusted encrypted tokens and utilize symmetric AES Key Wrap algorithms for decryption.

Red Hat's mitigation

Applications using `cjose` should be configured to reject JWEs that specify the AES Key Wrap key-management algorithms (`A128KW`, `A192KW`, `A256KW`) when processing untrusted input. This application-layer rejection prevents the vulnerable decryption path from being exercised.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10cjose-0:0.6.2.2-7.el10_2.1Fixed 2026-10-08RHSA-2026:79122
Red Hat Enterprise Linux 10.0 Extended Update Supportcjose-0:0.6.2.2-7.el10_0.1Fixed 2026-09-29RHSA-2026:73129
Red Hat Enterprise Linux 8mod_auth_openidc:2.3-8100020260914112224.489197e6Fixed 2026-10-07RHSA-2026:77369
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmod_auth_openidc:2.3-8040020260929135523.522a0ee4Fixed 2026-10-07RHSA-2026:77372
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onmod_auth_openidc:2.3-8040020260929135523.522a0ee4Fixed 2026-10-07RHSA-2026:77372
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportmod_auth_openidc:2.3-8060020260929134527.ad008a3aFixed 2026-10-07RHSA-2026:77371
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onmod_auth_openidc:2.3-8060020260929134527.ad008a3aFixed 2026-10-07RHSA-2026:77371
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicemod_auth_openidc:2.3-8080020260929133202.63b34585Fixed 2026-10-07RHSA-2026:77370
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsmod_auth_openidc:2.3-8080020260929133202.63b34585Fixed 2026-10-07RHSA-2026:77370
Red Hat Enterprise Linux 9cjose-0:0.6.1-17.el9_8.1Fixed 2026-10-29RHSA-2026:90812
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionscjose-0:0.6.1-13.el9_2.1Fixed 2026-09-29RHSA-2026:73017
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionscjose-0:0.6.1-16.el9_4.1Fixed 2026-09-29RHSA-2026:73018
Red Hat Enterprise Linux 9.6 Extended Update Supportcjose-0:0.6.1-17.el9_6.1Fixed 2026-09-29RHSA-2026:73128

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-53938.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON