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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59349 · JSON: https://cvemate.com/vulnerability/CVE-2026-59349/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.572%, percentile 48.719%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring web services: ≥ 5.0.0, \< 5.0.3.1 \| ≥ 4.1.0, \< 4.1.5 \| ≥ 4.0.0, \< 4.0.20 \| \< 3.1.10 \| ≥ 5.0.0, \< 5.0.4

## References

- <https://spring.io/security/cve-2026-59349>

---

Data as of 2026-12-05T04:05:20.176Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
