CVE-2025-53864
JSON

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 packageVersionsReported by
Connect2id Nimbus JOSE+JWTbefore 10.0.2CVE List
com.nimbusds:nimbus-jose-jwt (Maven)from 9.38-rc1 before 10.0.2, before 9.37.4GitHub Advisory Database

All scores

mitre5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
GitHub5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

Classification

CWE-674

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

SourceRecordLicence
CVE ListCVE-2025-53864 changed 2025-09-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-xwmg-2g98-w7v9 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-53864 changed 2026-06-17Public domain