Allocation of Resources Without Limits or Throttling Affecting org.springframework.ws:spring-ws-core package, versions [,5.0.4)


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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKWS-22732061
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditYu Bao

Introduced: 19 Nov 2026

NewCVE-2026-59349  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

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

Overview

org.springframework.ws:spring-ws-core is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the SaajSoapMessageFactory, AxiomSoapMessageFactory, and DomPoxMessageFactory classes, which read an incoming message's InputStream into the XML parser without bounding the number of bytes consumed. An unauthenticated attacker can exhaust memory by sending an arbitrarily large message to any endpoint. No non-default configuration is required, as this is the default behavior of every message factory.

Workaround

This vulnerability can be avoided by capping the request body size at a reverse proxy or servlet container in front of the application.

CVSS Base Scores

version 4.0
version 3.1