CVE-2026-40996
MEDIUM 4.8CVSS 3.1Spring Web Services: Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default
Wss4jSecurityInterceptor defaulted allowRSA15KeyTransportAlgorithm to true, overriding Apache WSS4J's safer default for validation RequestData. Inbound WS-Security decryption could therefore accept RSA PKCS#1 v1.5 (rsa-1_5) encrypted key material unless operators explicitly reconfigured the flag.
Affected versions:
Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.
- Published
- 11 Jun 2026
- Last modified
- 4 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-327
- Also known as
- GHSA-p7qj-2q5w-f9r7
- Sources
- NVDJSONOSV GHSA-p7qj-2q5w-f9r7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
< 3.1.9 | 3.1.9 |
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.19 | 4.0.19 |
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.3.1 | 4.1.3.1 |
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.1.1 | 5.0.1.1 |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 5.0.0, < 5.0.2 | 5.0.2 |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 4.1.0, < 4.1.4 | 4.1.4 |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 4.0.0, <= 4.0.18 | |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 3.1.0, <= 3.1.8 |
References
- https://spring.io/security/cve-2026-40996 · Vendor Advisory, Mitigation, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40996 · ADVISORY
- https://github.com/spring-projects/spring-ws · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 11 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jun 2026)