{"id":"CVE-2026-85532","title":"Apache WSS4J accepted attacker-controlled derived-key lengths and offsets without adequate bounds","summary":"Apache WSS4J accepted attacker-controlled derived-key lengths and offsets without adequate bounds. This could permit cryptographically weak keys or excessive CPU and memory consumption when processing crafted WS-Security messages. The fi…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-20"],"vendor":"apache","product":"wss4j","affected":["wss4j < 2.4.4","wss4j >= 3.0.0, < 3.0.6","wss4j >= 4.0.0, < 4.0.2"],"patched":["wss4j 4.0.2"],"published":"2026-09-30","updated":"2026-10-02","sourceUpdated":"2026-10-02T20:14:49.163","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-85532","references":[{"url":"https://lists.apache.org/thread.html/7jllcpbf4nbzhdp2vchz5yplnl5w6vd6","label":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2026/09/30/8","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd","cve.org"],"epss":0.00549,"epssPercentile":0.45734,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-30T19:44:50.188327Z"},"ingestedAt":"2026-09-30T12:02:58.584Z","slug":"CVE-2026-85532","body":"## Overview\n\nApache WSS4J accepted attacker-controlled derived-key lengths and offsets without adequate bounds. This could permit cryptographically weak keys or excessive CPU and memory consumption when processing crafted WS-Security messages. The fixes enforce a minimum key length of 16 bytes, a maximum length of 512 bytes, and a maximum offset of 4096 bytes.\nUsers are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.\n\n## Affected\n\n- `wss4j < 2.4.4`\n- `wss4j >= 3.0.0, < 3.0.6`\n- `wss4j >= 4.0.0, < 4.0.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `wss4j 4.0.2`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":213943,"id":"CVE-2026-85532","ts":1790799887386,"field":"cvss","old":null,"new":"7.5"},{"seq":213942,"id":"CVE-2026-85532","ts":1790799887386,"field":"severity","old":"none","new":"high"}]}