CVE-2026-59349: Spring Web Services Memory Consumption via Oversized Incoming Messages

Published Nov 30, 2026
·
Updated

SaajSoapMessageFactory , AxiomSoapMessageFactory , and DomPoxMessageFactory do not limit the size of the incoming message they parse.

A remote client that sends an oversized message to a Spring Web Services endpoint can cause the application to consume an amount of memory proportional to the data it sends, which may result in an OutOfMemoryError for the request being processed.

Limiting the size of incoming requests is commonly the responsibility of the infrastructure in front of the application, such as a reverse proxy or an API gateway.

For the JMS, Mail, and XMPP transports, the message is already fully received by the underlying client library before Spring Web Services processes it, and its size is subject to the limits of the broker or server.

On the client side, an oversized response requires the application to call a malicious or compromised server.

This issue only affects deployments where all the following are true:

The application receives messages over HTTP from untrusted clients.

No request body size limit is enforced before the message reaches Spring Web Services.

Fixed versions harden the message factories by applying a default maximum message size of 10MB, which can be configured via the maxMessageSize property of each factory.

Affected Software

1 affected component
VMware Spring Web Services

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Configure maxMessageSize to limit the size of incoming messages; fixed versions apply a 10MB default.

    SaajSoapMessageFactory, AxiomSoapMessageFactory, and DomPoxMessageFactory maxMessageSize = 10MB
  2. Compensating control

    Limit incoming HTTP request body size at the reverse proxy or API gateway in front of the application.

Event History

Nov 30, 2026
CVE Published
via MITRE·07:47 AM
Data Sourced
via MITRE·07:47 AM
DescriptionSeverity
Data Sourced
via NVD·08:17 AM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are exposed to this issue?

A deployment is affected only when it receives HTTP messages from untrusted clients and no request-body size limit is enforced before requests reach Spring Web Services. The affected message factories are SaajSoapMessageFactory, AxiomSoapMessageFactory, and DomPoxMessageFactory.

2

Can an unauthenticated remote attacker trigger the problem?

Yes. An untrusted remote HTTP client can send an oversized message, causing memory consumption proportional to the message data and potentially an OutOfMemoryError while that request is processed.

3

What can be done before updating the application?

Enforce a request-body size limit in infrastructure in front of the application, such as a reverse proxy or API gateway, so oversized messages do not reach Spring Web Services. Fixed versions also apply a default maximum message size of 10 MB in the message factories.

4

Are JMS, Mail, XMPP, or outbound client use affected in the same way?

For JMS, Mail, and XMPP, the underlying client library fully receives the message before Spring Web Services processes it, and the applicable size limits are those of the broker or server. On the client side, exploitation requires the application to call a malicious or compromised server that returns an oversized response.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203