All reports
Medium

wss4j: org.apache.wss4j/wss4j: Apache WSS4J: Denial of Service via improper validation of derived-key parameters

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-85532

Probability of exploitation in the next 30 days: 0.55%

FIRST EPSS · 2026-11-21

Description

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 fixes enforce a minimum key length of 16 bytes, a maximum length of 512 bytes, and a maximum offset of 4096 bytes. Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.

A flaw was found in Apache WSS4J. A remote attacker can exploit this issue by sending crafted Web Services Security (WS-Security) messages containing derived-key lengths and offsets without adequate bounds. Successful exploitation can lead to a Denial of Service (DoS) through excessive CPU and memory consumption or permit the use of cryptographically weak keys.