MODERATE

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)

ArtifactAffected versionsFixed 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

1affected artifacts
293affected versions
3,650dependent artifacts (est.)
116,985dependent versions

56% of the dependent artifacts (2,076) still pull an affected version in their latest release.

DepthDependent 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

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.