CVE-2026-59349
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| spring | spring_web_services | {"startIncluding":"5.0.0","endExcluding":"5.0.3.1"} | 5.0.3.1 |
| spring | spring_web_services | {"startIncluding":"4.1.0","endExcluding":"4.1.5"} | 4.1.5 |
| spring | spring_web_services | {"startIncluding":"4.0.0","endExcluding":"4.0.20"} | 4.0.20 |
| spring | spring_web_services | {"endExcluding":"3.1.10"} | 3.1.10 |
| spring | spring_web_services | {"startIncluding":"5.0.0","endExcluding":"5.0.4"} | 5.0.4 |
References
CWEs
CWE-770
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.