CVE-2025-53864Connect2id Nimbus JOSE+JWT
Medium 5.8 No auth needed
Follow: this CVE · Connect2id · Connect2id Nimbus JOSE+JWT We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.8
- EPSS
- —
- Auth required
- No
- Published
- Jul 11, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Nimbus JOSE+JWT.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.nimbusds:nimbus-jose-jwt |
≥ 9.38-rc1 < 10.0.2 |
10.0.2 |
— |
| Maven | com.nimbusds:nimbus-jose-jwt |
< 9.37.4 |
9.37.4 |
— |
Per OSV / GitHub Advisories (GHSA-xwmg-2g98-w7v9). Check the version in your lockfile before upgrading.
Affected products
- Connect2id · Nimbus JOSE+JWT
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.