MODERATE 5.8

CVE-2025-53864

Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.nimbusds » nimbus-jose-jwt
< 9.37.4>= 9.38-rc1, < 10.0.2
9.37.4, 10.0.2

Blast radius

1affected artifacts
341affected versions
14,780dependent artifacts (est.)
1,638,147dependent versions

57% of the dependent artifacts (8,548) still pull an affected version in their latest release.

DepthDependent versions
Direct
68,905
2 hops
371,553
3 hops
420,017
4 hops
368,130
5 hops
214,411
6 hops
195,131

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.