Skip to main content

Spring Data Commons CVE-2026-41711

| EUVDEUVD-2026-35897 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-06-10 security@vmware.com GHSA-5vpf-xvv7-c8vh
5.9
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Spring Data sort endpoint
  2. Delivery
    Craft recursive/deeply nested Sort parameter payload
  3. Exploit
    Send unauthenticated HTTP request
  4. Execution
    Trigger unbounded recursion in Sort parser
  5. Persist
    StackOverflowException exhausts thread stack
  6. Impact
    Application availability lost

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application uses Spring Data Commons Sort parameter parsing AND exposes an HTTP endpoint that passes user-supplied input directly into that parsing logic (e.g., a pageable/sortable repository endpoint accepting a 'sort' query parameter). The CVSS AC:H rating indicates that achieving the StackOverflowException requires a specifically crafted payload - not any arbitrary sort string - limiting opportunistic exploitation. No authentication is required (PR:N) and no user interaction is needed (UI:N), so any network-accessible endpoint meeting the above conditions is reachable by external attackers. Exploitation is limited by: (1) the AC:H complexity requirement indicating a non-trivial trigger condition, (2) the necessity of an exposed sort-accepting endpoint in the target application, and (3) impact confined to availability - no authentication bypass, data access, or code execution is possible through this vector.

Impact

The CVSS 5.9 score with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H captures a specific risk profile: network-reachable without authentication, but requiring elevated attack complexity to trigger, with impact limited entirely to availability. The AC:H designation is a meaningful limiting factor - exploitation is not a simple single-request trigger and likely requires knowledge of the exact payload structure needed to induce deep recursion in the parser. There is no confidentiality or integrity impact, so the worst-case outcome is application unavailability, not data exfiltration or code execution. No EPSS score was provided in the source data, so probability of exploitation cannot be quantified numerically. The absence of a CISA KEV entry and no reported POC reduces urgency relative to a comparably scored exploitable-in-the-wild issue. However, the extremely wide version range (spanning roughly 4 years of releases across 8 branches) and the ubiquity of Spring Data in enterprise Java applications mean aggregate exposure is high even if per-instance risk is moderate. Organizations running public-facing Spring-based REST APIs with user-controlled sort parameters should treat this as a meaningful patching priority.

Exploit ScenarioDerived

An unauthenticated remote attacker identifies a publicly exposed REST endpoint of a Spring Data-backed application that accepts a user-controlled 'sort' query parameter. The attacker crafts a malformed Sort expression designed to trigger deep or unbounded recursion in Spring Data Commons's Sort parser, submits the request, and causes a StackOverflowException that crashes the application thread or the entire application context, resulting in a denial of service. No public exploit code has been identified at time of analysis, but the AC:H rating indicates exploitation requires a specific, non-trivial payload construction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Denial of Service in Spring Data Commons affects applications that parse Sort parameters, triggering a StackOverflowException via crafted input. All major supported and legacy branches from 2.7.x through 4.0.x are affected, making the blast radius exceptionally broad across the Spring ecosystem. CVSS rates this Medium (5.9) with a high attack complexity qualifier (AC:H), unauthenticated network access (PR:N), and full availability impact (A:H); no active exploitation is confirmed and no public exploit code has been identified at time of analysis.

RemediationAI

Apply the vendor-released patch per the Spring security advisory at https://spring.io/security/cve-2026-41711; exact fixed versions per branch are not independently confirmed from the provided data and must be obtained directly from that advisory to avoid installing an incorrect target version. As a compensating control pending patching, applications can validate or sanitize Sort parameter input at the API gateway or controller layer before it reaches Spring Data's parser - reject inputs exceeding a defined length threshold or complexity limit (e.g., block Sort strings with more than a configurable number of fields or nested separators). Additionally, enabling HTTP request parameter size limits at the servlet container level (Tomcat maxParameterCount, Spring's HiddenHttpMethodFilter, etc.) can reduce the malformed payload surface. Note that input sanitization at the application layer may require code changes and regression testing, and container-level parameter limits may affect legitimate use cases with large sort payloads. Upgrading within the same minor branch is strongly preferred where operationally feasible.

Affected VersionsENISA

Spring Data Commons 3.1.0 <3.1.15
Spring Data Commons 3.5.0 <3.5.12
Spring Data Commons 4.0.0 <4.0.6
Spring Data Commons 3.0.0 <3.0.16
Spring Data Commons 3.3.0 <3.3.17
Spring Data Commons 3.4.0 <3.4.15
Spring Data Commons 2.7.0 <2.7.20
Spring Data Commons 3.2.0 <3.2.16

Affected Packages

maven org.springframework.data:spring-data-commons fix: 3.5.12, 4.0.6
euvd spring_data_commons fix: 2.7.20, 3.0.16, 3.1.15, 3.2.16, 3.3.17, 3.4.15, 3.5.12, 4.0.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Data Commons is the foundational library underpinning all Spring Data modules (JPA, MongoDB, Redis, etc.), providing shared infrastructure including query abstraction, pagination, and Sort parameter handling used widely in Java-based data access layers. The vulnerability is rooted in CWE-400 (Uncontrolled Resource Consumption): the Sort parameter parser likely employs recursive descent or recursive object construction without a depth or complexity guard, allowing a specially crafted input string to exhaust the JVM thread stack and raise an uncaught StackOverflowException. Because Sort parameters are typically surfaced via HTTP query strings (e.g., ?sort=field,direction), any web-facing endpoint backed by Spring Data that accepts user-supplied sort input is potentially reachable. The issue spans eight distinct release lines (2.7.x, 3.0.x through 3.5.x, and 4.0.x), reflecting a long-standing architectural pattern rather than a narrow regression.

Know when Spring Data Commons gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.9 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jun 10, 2026 - 02:01 EUVD

DescriptionCVE.org

Applications using Spring Data Commons may be vulnerable to a Denial of Service (DoS) attack leading to a StackOverflowException when parsing Sort parameters.

Affected versions: Spring Data Commons 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.7.0 through 2.7.19.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 534 maven packages depend on org.springframework.data:spring-data-commons (54 direct, 481 indirect)

Ecosystem-wide dependent count for version 4.0.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in Spring Data Commons Denial of Service Flaws

View all 4

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy