Home / Connect2id / Nimbus JOSE+JWT / CVE-2025-53864
CVE-2025-53864: is it exploited, and which versions of Connect2id Nimbus JOSE+JWT are affected and fixed?
CVE-2025-53864 is an uncontrolled recursion vulnerability in Connect2id Nimbus JOSE+JWT. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: com.nimbusds:nimbus-jose-jwt from 9.38-rc1 before 10.0.2 and com.nimbusds:nimbus-jose-jwt before 9.37.4 (GitHub advisory GHSA-xwmg-2g98-w7v9). Fixed in 10.0.2 and 9.37.4 (GitHub advisory GHSA-xwmg-2g98-w7v9). Severity: Medium (5.8, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-53864?
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.
From the CVE record by mitre, last updated September 23, 2025, 18:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Connect2id | Nimbus JOSE+JWT | before 10.0.2 | 10.0.2 |
As the CVE record by mitre states it, last updated September 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.nimbusds:nimbus-jose-jwt | >= 9.38-rc1, < 10.0.2 | 10.0.2 | GHSA-xwmg-2g98-w7v9 |
| Maven | com.nimbusds:nimbus-jose-jwt | < 9.37.4 | 9.37.4 | GHSA-xwmg-2g98-w7v9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 19, 2025. Summary: Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON.
How severe is CVE-2025-53864?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-53864 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, July 11, 2025)
- EPSS
- 1.09% probability of exploitation activity in the next 30 days, percentile 66.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Where are the vendor advisories and references?
- https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/583/stackoverflowerror-due-to-deeply-nested
- https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.0
- https://github.com/google/gson/commit/1039427ff0100293dd3cf967a53a55282c0fef6b
- https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/f7fb882cc08f027c9ceb874acec3b51c6222861c
- https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/593/back-port-cve-2025-53864-fix-to-9x-branch
When was it published, and where is the official record?
- Reserved
- July 11, 2025
- Published
- July 11, 2025, 00:00 UTC
- CVE record updated
- September 23, 2025, 18:38 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 09:39 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Nimbus JOSE+JWT?
- Feb 11, 2024CVE-2023-52428 Connect2id Nimbus Jose\+jwt: denial of service (resources allocated without limits)
- Oct 15, 2019CVE-2019-17195 Connect2id Nimbus Jose\+jwt: exceptional condition mishandled
- Aug 20, 2017CVE-2017-12974 Connect2id Nimbus Jose\+jwt: cryptographic signature not verified
- Aug 20, 2017CVE-2017-12973 Connect2id Nimbus Jose\+jwt: improper Validation of Integrity Check Value
- Aug 20, 2017CVE-2017-12972 Connect2id Nimbus Jose\+jwt: data authenticity not verified
Questions about CVE-2025-53864
Is CVE-2025-53864 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.09% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Connect2id Nimbus JOSE+JWT are affected by CVE-2025-53864?
com.nimbusds:nimbus-jose-jwt from 9.38-rc1 before 10.0.2 and com.nimbusds:nimbus-jose-jwt before 9.37.4, per the GitHub advisory GHSA-xwmg-2g98-w7v9. The tables above give every range the sources list.
Which version fixes CVE-2025-53864?
10.0.2 and 9.37.4, per the GitHub advisory GHSA-xwmg-2g98-w7v9. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-53864?
Medium (5.8, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2025-53864?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.