{"answers":{"affected":"4 open source packages ship an affected version, including com.nimbusds:nimbus-jose-jwt.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53864 exists.","fix":"Upgrade com.nimbusds:nimbus-jose-jwt to a fixed version for your release line: 9.37.4 or 10.0.2.","what":"CVE-2025-53864 is a medium-severity denial of service vulnerability in Connect2id Nimbus JOSE+JWT, published on 11 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-53864 and fix it if it is affected.\n\nWhat it is: CVE-2025-53864 is a medium-severity denial of service vulnerability in Connect2id Nimbus JOSE+JWT, published on 11 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53864 exists.\n\nAffected packages and fixed versions:\n- com.nimbusds:nimbus-jose-jwt (Maven): affected all versions; fixed in 9.37.4\n- com.nimbusds:nimbus-jose-jwt (Maven): affected all versions; fixed in 9.37.4\n- com.nimbusds:nimbus-jose-jwt (Maven): affected from 9.38-rc1; fixed in 10.0.2\n- com.nimbusds:nimbus-jose-jwt (Maven): affected from 9.38-rc1; fixed in 10.0.2\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-2025-53864/ (Markdown: https://insights.sbomify.com/CVE-2025-53864/index.md)","id":"CVE-2025-53864","markdown":"https://insights.sbomify.com/CVE-2025-53864/index.md","name":"CVE-2025-53864","record":{"aliases":["CLEANSTART-2026-AM99343","CLEANSTART-2026-FI29300","CLEANSTART-2026-TS87996","CLSA-2025-1760918790","CLSA-2025-1762474006","CLSA-2026-1769990936","CLSA-2026-1784423325","CLSA-2026-1784423326","ECHO-04fc-ce07-e981","GHSA-xwmg-2g98-w7v9","MINI-4x78-fcq3-5394","MINI-55g4-82hj-mgw3","MINI-5wc6-qppc-fg23","MINI-5x6w-hqpj-84xm","MINI-68vp-7f57-7hx3","MINI-8575-fx4r-2r93","MINI-8875-pmq2-974q","MINI-h7vf-7w7f-8g47","MINI-hj7q-xfj4-rmcw","MINI-jv8j-rfcm-9g72","MINI-p7hh-5mxq-2mw3","MINI-qvrv-5v9v-wp9j","MINI-rj2x-5484-jq63","MINI-v5g6-x4hq-58qh","MINI-w643-43v9-p7pj","RHLW-2026-4d628364a5512412","UBUNTU-CVE-2025-53864"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java JWT library","requires_auth":"none","summary":"Remote attackers can cause denial of service in Connect2id Nimbus JOSE+JWT by sending deeply nested JSON objects in JWT claims.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"Connect2id Nimbus JOSE + JWT 10.0.x before 10.0.2 and 9.37.x before 9.37.4 allows a remote attacker to cause a denial of service via a deeply nested JSON object supplied in a JWT claim set, because of uncontrolled recursion. NOTE: this is independent of the Gson 2.11.0 issue because the Connect2id product could have checked the JSON object nesting depth, regardless of what limits (if any) were imposed by Gson.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON","id":"CVE-2025-53864","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":4,"n_references":5,"next":{"headline":"Roundup is vulnerable to XSS through interactions between URLs and issue tracker templates","id":"CVE-2025-53865"},"packages":[{"ecosystem":"Maven","fixed":["9.37.4"],"introduced":["0"],"last_affected":[],"package":"com.nimbusds:nimbus-jose-jwt","purl":null,"source":"GHSA-xwmg-2g98-w7v9"},{"ecosystem":"Maven","fixed":["9.37.4"],"introduced":["0"],"last_affected":[],"package":"com.nimbusds:nimbus-jose-jwt","purl":"pkg:maven/com.nimbusds/nimbus-jose-jwt","source":"GHSA-xwmg-2g98-w7v9"},{"ecosystem":"Maven","fixed":["10.0.2"],"introduced":["9.38-rc1"],"last_affected":[],"package":"com.nimbusds:nimbus-jose-jwt","purl":null,"source":"GHSA-xwmg-2g98-w7v9"},{"ecosystem":"Maven","fixed":["10.0.2"],"introduced":["9.38-rc1"],"last_affected":[],"package":"com.nimbusds:nimbus-jose-jwt","purl":"pkg:maven/com.nimbusds/nimbus-jose-jwt","source":"GHSA-xwmg-2g98-w7v9"}],"prev":{"headline":"Aap: aap-gateway: automation-hub: sensitive information disclosure","id":"CVE-2025-53862"},"products":["Nimbus JOSE+JWT"],"published":"2025-07-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-23","vendors":["Connect2id"]},"summary":"Remote attackers can cause denial of service in Connect2id Nimbus JOSE+JWT by sending deeply nested JSON objects in JWT claims.","url":"https://insights.sbomify.com/CVE-2025-53864/"}