CVE-2026-59349
Spring Web Services Denial of Service via Unbounded Incoming Message Size
Description
SaajSoapMessageFactory, AxiomSoapMessageFactory, and DomPoxMessageFactory read an incoming message's InputStream directly into the underlying XML parser without any bound on the number of bytes consumed. An attacker who can reach any endpoint can send an arbitrarily large message and exhaust server memory.
This affects every deployment: there is no configuration precondition, as this is the default behavior of every message factory Spring-WS provides.
Fixed versions apply a default maximum message size of 10MB, controllable via the maxMessageSize property on each factory.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws » spring-ws-core | <= 3.1.9>= 4.0.0, <= 4.0.19>= 4.1.0, <= 4.1.4>= 5.0.0, < 5.0.4 | 5.0.4 |
Blast radius
54% of the dependent artifacts (641) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,156 |
| 2 hops | 7,582 |
| 3 hops | 5,357 |
| 4 hops | 3,206 |
| 5 hops | 4,459 |
| 6 hops | 13,856 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- io.gravitee.gateway » gravitee-gateway-api140 usages
- org.apache.camel » camel-catalog87 usages
- org.springframework.boot » spring-boot-starter-web-services83 usages
- io.gravitee.policy » gravitee-policy-api77 usages
- com.consol.citrus » citrus-core69 usages
- io.gravitee.el » gravitee-expression-language56 usages
- io.gravitee.apim.repository » gravitee-apim-repository-api41 usages
- io.gravitee.apim.gateway » gravitee-apim-gateway-buffer40 usages
- org.springframework.ws » spring-ws-security40 usages
- com.consol.citrus » citrus-http40 usages
- org.apache.camel.springboot » camel-jackson-starter37 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
