cve.bz

CVE-2025-53864 connect2id nimbus jose+jwt: Uncontrolled Recursion

5.8 mediumEPSS 1.0%Fix available

Medium (5.8) in connect2id nimbus jose+jwt. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in com.nimbusds:nimbus-jose-jwt 10.0.2, 9.37.4.

On this page
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.

Severity

CVSS 3.1

5.8 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-07-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • com.nimbusds:nimbus-jose-jwt (Maven): fixed in 10.0.2, 9.37.4

Ask an AI about this CVE

Show the promptExplain CVE-2025-53864 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-53864?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-53864?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-53864 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Connect2id Nimbus JOSE+JWTbefore 10.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xwmg-2g98-w7v9Mavencom.nimbusds:nimbus-jose-jwt>=9.38-rc1 <10.0.210.0.2
GHSA-xwmg-2g98-w7v9Mavencom.nimbusds:nimbus-jose-jwt<9.37.49.37.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 5 morelibgoogle-gson-javano fix listedUBUNTU-CVE-2025-53864

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation 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.

ProductPackageStateAdvisory
Streams for Apache Kafka 3.0.0Fixed 2025-08-01RHSA-2025:12511
Cryostat 4nimbus-jose-jwtFix deferred
Logging Subsystem for Red Hat OpenShiftnimbus-jose-jwtFix deferred
Red Hat AMQ Broker 7nimbus-jose-jwtFix deferred
Red Hat build of Apache Camel 4 for Quarkus 3nimbus-jose-jwtFix deferred
Red Hat build of Apache Camel for Spring Boot 4nimbus-jose-jwtFix deferred
Red Hat build of Apache Camel - HawtIO 4nimbus-jose-jwtFix deferred
Red Hat build of Apicurio Registry 2nimbus-jose-jwtFix deferred
Red Hat build of Apicurio Registry 3nimbus-jose-jwtFix deferred
Red Hat build of Quarkusnimbus-jose-jwtFix deferred
Red Hat Fuse 7nimbus-jose-jwtFix deferred
Red Hat JBoss Enterprise Application Platform 7nimbus-jose-jwtFix deferred
Red Hat JBoss Enterprise Application Platform 8nimbus-jose-jwtFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packnimbus-jose-jwtFix deferred
streams for Apache Kafka 2nimbus-jose-jwtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-53864.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON