CVE-2026-59443
Spring Integration FluxAggregatorMessageHandler unbounded memory consumption via the sequenceSize message header
Description
By default, the FluxAggregatorMessageHandler derives the window size for a correlation group from the sequenceSize message header and passes it to the Reactor Flux.window(int) operator without any validation. A remote sender whose messages reach a default-configured FluxAggregatorMessageHandler can set this header to a very large value, such as Integer.MAX_VALUE, which opens a window that never closes. All subsequent messages for that correlation key are then buffered in memory indefinitely, which leads to heap exhaustion and a denial of service for the whole application. A non-positive header value, or a message without a correlation key, also terminates the whole aggregating Flux, so the handler stops releasing any further groups.
An application is affected if it uses the FluxAggregatorMessageHandler with the default window size (taken from the sequenceSize header) and the correlationId and sequenceSize headers can be set by untrusted message sources.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.integration » spring-integration-core | <= 5.5.22>= 6.4.0, <= 6.4.13>= 6.5.0, <= 6.5.11>= 7.0.0, < 7.0.8>= 7.1.0, < 7.1.3 | 7.0.8, 7.1.3 |
Blast radius
56% of the dependent artifacts (2,076) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 48,317 |
| 2 hops | 28,820 |
| 3 hops | 13,229 |
| 4 hops | 7,697 |
| 5 hops | 4,962 |
| 6 hops | 13,960 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.springframework.integration » spring-integration-jmx546 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.springframework.boot » spring-boot-integration430 usages
- org.springframework.cloud » spring-cloud-stream427 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.springframework.boot » spring-boot-starter-integration280 usages
- org.springframework.cloud » spring-cloud-starter-stream-kafka280 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-configuration264 usages
Computed from the dependency graph of build 20261125.0317 (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.
