NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-53864: Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON

mediumCVSS 3.1 5.8GHSA-xwmg-2g98-w7v9

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.

Published Jul 11, 2025 · Updated Sep 19, 2025

Affected packages

com.nimbusds:nimbus-jose-jwt

Ecosystem
Maven
Affected
< 9.37.4
Fixed in
9.37.4
Check
mvn dependency:tree -Dincludes=com.nimbusds:nimbus-jose-jwt

com.nimbusds:nimbus-jose-jwt

Ecosystem
Maven
Affected
>= 9.38-rc1, < 10.0.2
Fixed in
10.0.2
Check
mvn dependency:tree -Dincludes=com.nimbusds:nimbus-jose-jwt

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to phrabec, vtintillier.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries