{"id":"CVE-2025-53864","aliases":["GHSA-xwmg-2g98-w7v9"],"url":"https://o3.security/vulnerability/CVE-2025-53864","summary":"Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON","details":"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.","published":"2025-07-11T00:00:00Z","modified":"2026-07-22T04:02:18.852698Z","cvss":{"score":5.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"com.nimbusds:nimbus-jose-jwt","fixedVersion":"10.0.2"},{"ecosystem":"Maven","name":"com.nimbusds:nimbus-jose-jwt","fixedVersion":"9.37.4"}],"fix":{"url":"https://github.com/google/gson/commit/1039427ff0100293dd3cf967a53a55282c0fef6b","label":"google/gson@1039427"},"references":[{"type":"WEB","url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/583/stackoverflowerror-due-to-deeply-nested"},{"type":"WEB","url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/593/back-port-cve-2025-53864-fix-to-9x-branch"},{"type":"WEB","url":"https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53864.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53864"},{"type":"FIX","url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/f7fb882cc08f027c9ceb874acec3b51c6222861c"},{"type":"FIX","url":"https://github.com/google/gson/commit/1039427ff0100293dd3cf967a53a55282c0fef6b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-22T04:02:18.852698Z"}}