{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-53938 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-53938 is a high-severity memory corruption vulnerability in OpenIDC cjose, published on 8 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-53938 and fix it if it is affected.\n\nWhat it is: CVE-2026-53938 is a high-severity memory corruption vulnerability in OpenIDC cjose, published on 8 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-53938 in the wild and no public exploit code.\n\nAffected product: OpenIDC cjose. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-53938/ (Markdown: https://insights.sbomify.com/CVE-2026-53938/index.md)","id":"CVE-2026-53938","markdown":"https://insights.sbomify.com/CVE-2026-53938/index.md","name":"CVE-2026-53938","record":{"aliases":["ALSA-2026:79122","ALSA-2026:90812","AZL-101093","DEBIAN-CVE-2026-53938","GHSA-75r7-f5cv-g3wj","RHSA-2026:73017","RHSA-2026:73018","RHSA-2026:73128","RHSA-2026:73129","RHSA-2026:77370","RHSA-2026:77371","RHSA-2026:77372","RHSA-2026:79122","RLSA-2026:79122","UBUNTU-CVE-2026-53938"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JOSE C library","requires_auth":"none","summary":"A remote attacker can trigger a heap buffer overflow in the cjose library via crafted JWE messages, causing crashes or potential code execution.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus:9.6::crb","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_eus_long_life:8.6::appstream","Red Hat:rhel_tus:8.8::appstream","Rocky Linux:10"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenIDC/cjose has a heap buffer overflow in AES Key Wrap decryption (A128KW/A192KW/A256KW)","id":"CVE-2026-53938","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":67,"n_references":2,"next":{"headline":"OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption","id":"CVE-2026-53939"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["0.6.2.2-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/almalinux/cjose","source":"ALSA-2026:79122"},{"ecosystem":"AlmaLinux:10","fixed":["0.6.2.2-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/almalinux/cjose-devel","source":"ALSA-2026:79122"},{"ecosystem":"AlmaLinux:9","fixed":["0.6.1-17.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/almalinux/cjose","source":"ALSA-2026:90812"},{"ecosystem":"AlmaLinux:9","fixed":["0.6.1-17.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/almalinux/cjose-devel","source":"ALSA-2026:90812"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:0.6.2.2-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:79122"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:0.6.2.2-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2026:79122"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:0.6.2.2-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2026:79122"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:0.6.2.2-7.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2026:79122"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:0.6.2.2-7.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:73129"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:0.6.2.2-7.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2026:73129"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:0.6.2.2-7.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2026:73129"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:0.6.2.2-7.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2026:73129"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+24972+63eee48e.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:77372"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+24972+63eee48e.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2026:77372"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+24972+63eee48e.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2026:77372"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+24972+63eee48e.1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2026:77372"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.4.9.4-1.module+el8.4.0+24868+593d10ef.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2026:77372"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.4.9.4-1.module+el8.4.0+24868+593d10ef.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2026:77372"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.4.9.4-1.module+el8.4.0+24868+593d10ef.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2026:77372"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+24971+334c209b.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:77371"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+24971+334c209b.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2026:77371"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+24971+334c209b.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2026:77371"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+24971+334c209b.1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2026:77371"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.4.9.4-1.module+el8.6.0+24867+df0294a5.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2026:77371"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.4.9.4-1.module+el8.6.0+24867+df0294a5.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2026:77371"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.4.9.4-1.module+el8.6.0+24867+df0294a5.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2026:77371"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+24970+620d53ef.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:77370"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+24970+620d53ef.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2026:77370"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+24970+620d53ef.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2026:77370"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+24970+620d53ef.1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2026:77370"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2026:77370"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2026:77370"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:2.4.9.4-1.module+el8.8.0+24885+7d8e9f68.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2026:77370"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:0.6.1-13.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:73017"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:0.6.1-13.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2026:73017"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:0.6.1-13.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2026:73017"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:0.6.1-16.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:73018"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:0.6.1-16.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2026:73018"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:0.6.1-16.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2026:73018"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["0:0.6.1-17.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2026:73128"}],"prev":{"headline":"MCP Kotlin SDK's unbounded line buffer in StdioServerTransport/StdioClientTransport leads to memory exhaustion (DoS)","id":"CVE-2026-53937"},"products":["cjose"],"published":"2026-09-08","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-09","vendors":["OpenIDC"]},"summary":"A remote attacker can trigger a heap buffer overflow in the cjose library via crafted JWE messages, causing crashes or potential code execution.","url":"https://insights.sbomify.com/CVE-2026-53938/"}