5.8medium
Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON
- Severity
- 5.8medium CVSS:3.1 by mitre
- Exploit likelihood
- 1.25% (higher than 69% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-xwmg-2g98-w7v9
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Connect2id Nimbus JOSE+JWT | before 10.0.2 | CVE List |
| com.nimbusds:nimbus-jose-jwt (Maven) | from 9.38-rc1 before 10.0.2, before 9.37.4 | GitHub Advisory Database |
All scores
| mitre | 5.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| GitHub | 5.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Connect2id Nimbus JOSE + JWT before 10.0.2 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.
NVD (es)
Connect2id Nimbus JOSE + JWT anterior a la versión 10.0.2 permite a un atacante remoto provocar una denegación de servicio mediante un objeto JSON profundamente anidado, suministrado en un conjunto de notificaciones JWT, debido a una recursión incontrolada. NOTA: Esto es independiente del problema de Gson 2.11.0, ya que Connect2id podría haber comprobado la profundidad de anidación de objetos JSON, independientemente de los límites (si los hubiera) impuestos por Gson.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-53864 changed 2025-09-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xwmg-2g98-w7v9 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-53864 changed 2026-06-17 | Public domain |