Spring Framework Denial of Service via Unbounded List Growth in Data Binding

MEDIUM | AUGUST 20, 2026 | CVE-2026-59282

Description

Spring Framework applications that use Spring's data binding infrastructure to apply user-supplied property paths onto a target object may be vulnerable to a Denial of Service (DoS) attack.

Spring Framework's property binding infrastructure traverses nested property paths by calling list.get(index) to navigate into list elements. This call is made without verifying that the index falls within the list's current bounds after the configured autoGrowCollectionLimit check prevents further growth. For standard List implementations this is safe, as an out-of-range get() throws IndexOutOfBoundsException. However, a List implementation whose get() method allocates elements on demand rather than throwing IndexOutOfBoundsException may be caused to perform unbounded allocation.

Specifically, an application is vulnerable when all of the following conditions are met:

  • The application uses Spring's data binding infrastructure (e.g., DataBinder, BeanWrapper, or DirectFieldAccessor) to apply user-supplied property paths onto a target object.
  • The target object contains a self-populating List implementation as a property.
  • The list's element type exposes sub-properties (i.e., it is not a simple scalar type).

When all conditions are met, an attacker can supply a property path with an arbitrarily large index into a nested sub-property, causing the list to allocate an unbounded number of elements, exhausting heap memory and potentially resulting in Denial of Service.

Affected Spring Products and Versions

Spring Framework:

  • 7.0.0 - 7.0.8
  • 6.2.0 - 6.2.19
  • 6.1.0 - 6.1.28
  • 6.0.0 - 6.0.30
  • 5.3.0 - 5.3.49
  • 5.2.25 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.0.9OSS
7.0.8.1Enterprise Support Only
6.2.20Enterprise Support Only
6.1.29Enterprise Support Only
6.0.31Enterprise Support Only
5.3.50Enterprise Support Only
5.2.26Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all