CVE-2026-59443

Denial of Service
Affects
Spring Integration
in
Spring
No items found.
Versions
<=5.5.22, >=6.4.0 <=6.4.13, >=6.5.0 <=6.5.11, >=7.0.0 <=7.0.7, >=7.1.0 <=7.1.2

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Spring Integration extends the Spring programming model to support the well-known Enterprise Integration Patterns. It enables lightweight messaging within Spring-based applications and supports integration with external systems through declarative adapters.

A denial of service vulnerability (CVE-2026-59443) has been identified in the FluxAggregatorMessageHandler of Spring Integration, which allows attackers who can set the correlationId and sequenceSize message headers to exhaust the application's heap memory. Crafted header values can also terminate the aggregating stream, so the handler stops releasing any further groups.

Per OWASP: The Denial of Service (DoS) attack is focused on making a resource (site, application, server) unavailable for the purpose it was designed.

This issue affects multiple versions of Spring Integration.

Details

Module Info

Vulnerability Info

This Medium-severity vulnerability is found in the spring-integration-core package in multiple versions of Spring Integration.

The FluxAggregatorMessageHandler is a reactive aggregator that pushes every incoming message into a single Flux, groups the messages by correlation key and splits each group into windows. By default the correlation key is read from the correlationId header and the window size from the sequenceSize header of the first message in the group:

this.aggregatorFlux =
		Flux.<Message<?>>create(emitter -> this.sink = emitter, FluxSink.OverflowStrategy.BUFFER)
				.groupBy(this::groupBy)
				.flatMap((group) -> group.transform(this::releaseBy))
				.publish()
				.autoConnect();

private Flux<Flux<Message<?>>> applyWindowOptions(Flux<Message<?>> groupFlux) {
	...
	return groupFlux
			.switchOnFirst((signal, group) -> {
				if (signal.hasValue()) {
					Integer maxSize = this.windowSizeFunction.apply(signal.get());
					if (maxSize != null) {
						...
						return group.window(maxSize);

The sequenceSize value is passed to Flux.window(int) without any validation, and a group is never completed once its window closes. A sender who controls the headers can set sequenceSize to a very large value such as Integer.MAX_VALUE, which opens a window that never closes, so every later message for that correlation key is buffered in memory indefinitely. Because the groups stay open for the lifetime of the handler and flatMap() runs at its default concurrency of 256, a stream of distinct correlation keys also fills the handler until it stops releasing windows while it keeps buffering incoming messages. Either way the heap is eventually exhausted, causing a denial of service for the whole application.

A non-positive sequenceSize, a missing sequenceSize header (with no other window option configured) or a message whose correlation key is null raises an error inside the shared aggregating Flux instead of failing only that message or group. The error terminates the whole stream, and the handler silently stops aggregating for every correlation key.

An application is affected if it uses FluxAggregatorMessageHandler with the default window size taken from the sequenceSize header and the correlationId and sequenceSize headers can be set by untrusted message sources.

Mitigation

Only recent versions of Spring Integration receive community support. Older lines are End-of-Life and will not receive public updates to address this issue.

Users of the affected components should apply one of the following mitigations:

  • Upgrade to a currently supported version of Spring Integration.
  • Leverage a commercial support partner like HeroDevs for post-EOL security support.

Credits

Yu Bao from PayPal Cyber Security Team (finder)

Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
Medium
ID
CVE-2026-59443
PROJECT Affected
Spring Integration
Versions Affected
<=5.5.22, >=6.4.0 <=6.4.13, >=6.5.0 <=6.5.11, >=7.0.0 <=7.0.7, >=7.1.0 <=7.1.2
NES Versions Affected
Published date
November 19, 2026
≈ Fix date
Category
Denial of Service
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Spring
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.