Skip to content

Back‑port CVE‑2025‑53864 fix (nimbus‑jose‑jwt) to Spring Security 6.5.x #17583

@uweguenther

Description

@uweguenther

spring-security-oauth2-jose 6.5.1 depends on com.nimbusds:nimbus-jose-jwt 9.37.3, which is vulnerable to CVE-2025-53864 (uncontrolled recursion -> DoS).

The fix is available in Nimbus 10.0.2+, but the 6.5.x line still ships 9.37.3.

org.springframework.security:spring-security-oauth2-jose:6.5.1
    -> com.nimbusds:nimbus-jose-jwt:9.37.3   <- vulnerable

Request

Could the Spring Security team please:

  • Ask the Nimbus maintainers to back‑port the fix to a 9.37.x release, so that the 6.5.x maintenance branch can move to a safe version without breaking compatibility?
    (A similar outreach was done before—see spring‑boot #46478.)

Background / references

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions