Vulnerability · Published Jul 11, 2025 · Assigned by mitre

CVE-2025-53864

Medium 5.8

In plain English

A medium-severity security flaw in Nimbus JOSE+JWT from Connect2id. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.8Medium
Exploit odds (30 days)1.0%top 37.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.nimbusds:nimbus-jose-jwt9.37.4GHSA-xwmg-2g98-w7v9
Mavencom.nimbusds:nimbus-jose-jwt10.0.2GHSA-xwmg-2g98-w7v9
Ubuntu:22.04:LTSlibgoogle-gson-javano fix listedUBUNTU-CVE-2025-53864
Ubuntu:24.04:LTSlibgoogle-gson-javano fix listedUBUNTU-CVE-2025-53864
Ubuntu:25.10libgoogle-gson-javano fix listedUBUNTU-CVE-2025-53864
Ubuntu:26.04:LTSlibgoogle-gson-javano fix listedUBUNTU-CVE-2025-53864
Ubuntu:26.10libgoogle-gson-javano fix listedUBUNTU-CVE-2025-53864

Affected products (as reported)

VendorProductVersions
Connect2id Nimbus JOSE+JWT 0 – before 10.0.2

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

References