MODERATE 5.9

CVE-2026-41721

Spring Data Commons: Denial of Service via excessive memory allocation in projection binding

Description

Spring Data Commons contains a vulnerability that can lead to a Denial of Service (DoS) condition if Spring Data Web Support is enabled in conjunction with a Controller method using @ProjectedPayload, when an attacker sends a specially crafted HTTP request that causes the application to allocate lots of memory.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.data » spring-data-commons
<= 2.7.19>= 3.0.0, <= 3.3.16>= 3.4.0, <= 3.4.14>= 3.5.0, < 3.5.12>= 4.0.0, < 4.0.6
3.5.12, 4.0.6

Blast radius

1affected artifacts
362affected versions
20,066dependent artifacts (est.)
821,440dependent versions

72% of the dependent artifacts (14,613) still pull an affected version in their latest release.

DepthDependent versions
Direct
134,943
2 hops
57,382
3 hops
207,058
4 hops
172,388
5 hops
199,675
6 hops
49,994

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.