{"id":"CVE-2025-53864","published":"2025-07-11T00:00:00Z","modified":"2025-09-23T18:38:15Z","title":"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…","vendor":"Connect2id","product":"Nimbus JOSE+JWT","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00981,"percentile":0.63094,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/583/stackoverflowerror-due-to-deeply-nested","tags":[]},{"url":"https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.0","tags":[]},{"url":"https://github.com/google/gson/commit/1039427ff0100293dd3cf967a53a55282c0fef6b","tags":[]},{"url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/f7fb882cc08f027c9ceb874acec3b51c6222861c","tags":[]},{"url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/593/back-port-cve-2025-53864-fix-to-9x-branch","tags":[]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":12.62},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"connect2id","affectedVersions":[{"vendor":"Connect2id","product":"Nimbus JOSE+JWT","versions":["< 10.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-11T13:28:35.322634Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.nimbusds:nimbus-jose-jwt","vulnerableRanges":[">=9.38-rc1, <10.0.2","<9.37.4"],"patched":["10.0.2","9.37.4"],"from":["GHSA-xwmg-2g98-w7v9"],"provenance":"source"}],"summary":{"text":"Connect2id's Nimbus JOSE+JWT library contains an uncontrolled recursion flaw in how it parses JWT claim sets, in versions 10.0.x before 10.0.2 and 9.37.x before 9.37.4. An attacker can exploit it over the network without authentication or user interaction by supplying a deeply nested JSON object in a JWT claim set, causing a denial of service, and the library does not check nesting depth itself, so it cannot rely on any limit imposed by the underlying Gson parser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:07Z"},"euvd":{"id":"EUVD-2025-21099","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-12973","published":"2017-08-20","fixed":"4.39","kev":false},{"cve":"CVE-2019-17195","published":"2019-10-15","fixed":"7.9","kev":false},{"cve":"CVE-2023-52428","published":"2024-02-11","fixed":"9.37.2","kev":false,"link":{"from":"CVE-2023-52428","to":"CVE-2025-53864","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.nimbusds:nimbus-jose-jwt","fromFixed":"9.37.2","toFixed":"9.37.4","daysApart":516}]}},{"cve":"CVE-2025-53864","published":"2025-07-11","fixed":"10.0.2","kev":false}],"package":"Maven:com.nimbusds:nimbus-jose-jwt"}}