Improper Cleanup on Thrown Exception Affecting org.springframework:spring-core package, versions [6.1.0,7.0.11)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-22727152
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditYLChen-007

Introduced: 19 Nov 2026

NewCVE-2026-59418  (opens in a new tab)
CWE-460  (opens in a new tab)

How to fix?

Upgrade org.springframework:spring-core to version 7.0.11 or higher.

Overview

org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.

Affected versions of this package are vulnerable to Improper Cleanup on Thrown Exception in the processDataBuffer() method of AbstractCharSequenceDecoder, the superclass of StringDecoder. An attacker can leak pooled DataBuffer memory until the application is denied service by sending requests whose decoded text lines exceed the configured maxInMemorySize, because the resulting DataBufferLimitException is thrown without releasing the buffers already split from the input. This affects only Spring WebFlux applications on Reactor Netty that decode request bodies as a stream of String values and set maxInMemorySize below the server's buffer size (8KB by default on HTTP/1.1), so the default 256KB limit is unaffected.

CVSS Base Scores

version 4.0
version 3.1