CVE-2026-59349
published medium CVSS 3.1 · 5.3Spring Web Services Memory Consumption via Oversized Incoming Messages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Web Services5.0.0 to < 5.0.3.1 · 4.1.0 to < 4.1.5 · 4.0.0 to < 4.0.20 · 0 to < 3.1.10 · 5.0.0 to < 5.0.4 | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Web Services | 5.0.0 to < 5.0.3.1 (affected · semver)4.1.0 to < 4.1.5 (affected · semver)4.0.0 to < 4.0.20 (affected · semver)0 to < 3.1.10 (affected · semver)5.0.0 to < 5.0.4 (affected · OSS) | vmware · cna |
Weaknesses
0No weakness assertions.
References
1Provider assertions
2vmware · cna
Spring Web Services Memory Consumption via Oversized Incoming Messages
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5c92d1d28ea969bb4c5eef44977ef3e4c4e67c8439cd908a5ce3ab940320c0dd
- Ingested
- 01 Dec 2026, 19:45:58 UTC
- Source record
- Official CVE record