{"id":"CVE-2026-40996","summary":"Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default","details":"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.\n\nAffected versions:\nSpring 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.","aliases":["GHSA-p7qj-2q5w-f9r7"],"modified":"2026-09-06T11:45:35.247009989Z","published":"2026-06-11T05:04:05.227Z","database_specific":{"cwe_ids":["CWE-327"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40996.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.0.1.1"},{"introduced":"4.1.0"},{"fixed":"4.1.3.1"},{"introduced":"4.0.0"},{"fixed":"4.0.19"},{"introduced":"3.1.0"},{"fixed":"3.1.9"}]},{"extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.0.1"},{"introduced":"4.1.0"},{"fixed":"4.1.3"},{"introduced":"4.0.0"},{"fixed":"4.0.18"},{"introduced":"3.1.0"},{"fixed":"3.1.8"}],"source":"DESCRIPTION"}],"cna_assigner":"vmware"},"references":[{"type":"WEB","url":"https://spring.io/security/cve-2026-40996"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40996.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40996"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-ws","events":[{"introduced":"03e870960cc6f5b591bf16d3ad3897f0aa452cc7"},{"fixed":"bce4cbc3e388d270bca1593970637e2d58076565"}],"database_specific":{"extracted_events":[{"introduced":"3.1.0"},{"fixed":"3.1.8"}],"source":"DESCRIPTION"}}],"versions":["v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40996.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}