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.

Project Subscriptions

Vendors Products
Spring Web Services Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
History

Tue, 01 Dec 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770

Tue, 01 Dec 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770

Tue, 01 Dec 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 30 Nov 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Web Services
Vendors & Products Spring
Spring spring Web Services

Mon, 30 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770

Mon, 30 Nov 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-400

Mon, 30 Nov 2026 12:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Spring Web Services Memory Consumption via Oversized Incoming Messages
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-12-01T19:38:18.546Z

Reserved: 2026-07-04T18:14:46.171Z

Link: CVE-2026-59349

cve-icon Vulnrichment

Updated: 2026-11-30T15:58:34.217Z

cve-icon NVD

Status : Received

Published: 2026-11-30T08:17:58.333

Modified: 2026-12-01T20:19:11.213

Link: CVE-2026-59349

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-30T17:00:12Z

Weaknesses