Skip to main content
Public proof of conceptFix available

CVE-2025-53864

A public proof of concept exists; no exploitation attested.

  • Published2025-07-11
  • Fixed in10.0.2 · 9.37.4
  • WeaknessCWE-674

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-07-1103:16CVE publishedNVD

Versions per branch

OSV
nimbus-jose-jwt
BranchAffectedFixed in
10.0≥ 9.38-rc1, < 10.0.210.0.2
9.37< 9.37.49.37.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Connect2id Nimbus JOSE+JWTother versions: not affected
    Affected
    • < 10.0.2fixed in 10.0.2custom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-09-23

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • akhqWolfiall versions · fixed in 0.26.0-r0
  • akhqChainguardall versions · fixed in 0.26.0-r0
  • apache-druidMinimOSall versions · fixed in 38.0.0-r0and 1 other package
  • apache-hiveCleanStartall versions · fixed in 3.1.3-r0
  • apache-hiveCleanStartall versions · fixed in 4.0.0-r0
  • apache-hiveCleanStartall versions · fixed in 4.2.0-r1
  • apache-nifiWolfiall versions · fixed in 2.4.0-r6and 2 other packages
  • apache-nifiChainguardall versions · fixed in 2.4.0-r6and 2 other packages

69 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-53864 Red Hat Product Security1 product fixed · 14 known affected

    com.nimbusds/nimbus-jose-jwt: Uncontrolled recursion in Connect2id Nimbus JOSE + JWT

    nimbus-jose-jwt as a component of Cryostat 4 · nimbus-jose-jwt as a component of Logging Subsystem for Red Hat OpenShift · nimbus-jose-jwt as a component of Red Hat AMQ Broker 7 · +11 more

  • RHSA-2025:12511 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Streams for Apache Kafka 3.0.0 release and security update

Full record on NVD

Fix

  1. Update nimbus-jose-jwt to 10.0.2 · 9.37.4
  2. Vendor fix Red Hat Product Security RHSA-2025:12511 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2025:12511 · 1 productMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  4. No fix available, says the vendor Red Hat Product Security CVE-2025-53864 · 14 productsFix deferred

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2025-07-11
  • CNACVSS 3.15.8known since 2026-10-23
  • CNAweakness (CWE)CWE-674known since 2026-10-23
  • FIRST EPSSEPSS score1.0 %2026-11-09
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2025-07-11

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
Published
2025-07-11
Last Modified
2026-06-17
NVD status
Deferred
GitHub Advisory
GHSA-xwmg-2g98-w7v9

Frequently asked questions

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.

Is CVE-2025-53864 actively exploited?

A proof-of-concept exploit exists for CVE-2025-53864, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-53864?

CVE-2025-53864 has a CVSS v3 base score of 5.8 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L.

Running nimbus-jose-jwt? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record