Skip to main content
VulnerabilityPublished Updated

CVE-2025-53864: Connect2id Nimbus JOSE+JWT · Uncontrolled Recursion

Affects Connect2id Nimbus JOSE+JWTSource CVE Database V5

0

Not known to be exploited · CVSS 5.8 Medium : upgrade to 10.0.2 or 9.37.4 when convenient.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.0.2, 9.37.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade com.nimbusds/nimbus-jose-jwt to 10.0.2 or 9.37.4.

Affected software

ProductAffectedFixed in
Mavencom.nimbusds/nimbus-jose-jwtpkg:maven/com.nimbusds/nimbus-jose-jwtOther threatsAffected
  • <9.37.4
  • <10.0.2
Fixed in
  • 9.37.4
  • 10.0.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should take immediate steps to mitigate this vulnerability beyond generic advice. First, identify all applications and services using the Connect2id Nimbus JOSE+JWT library, focusing on versions prior to 10.0.2 and 9.37.4. If patches are not yet released, implement compensating controls such as input validation to limit the depth of JSON objects within JWT claim sets before processing. This can be done by enforcing strict schema validation or using custom JSON parsers that impose nesting limits. Additionally, deploy Web Application Firewalls (WAFs) or API gateways with rules to detect and block JWTs containing suspiciously deep or complex JSON structures. Monitoring and alerting on unusual JWT payload sizes or parsing errors can help detect exploitation attempts early. Rate limiting JWT validation requests can reduce the risk of resource exhaustion from repeated attacks. Finally, conduct thorough code reviews and security testing on JWT handling components to ensure no other uncontrolled recursion or resource exhaustion vulnerabilities exist. Document and update incident response plans to include scenarios involving JWT-based denial of service attacks.

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.

References

Community reviews

Loading reviews…