CVE-2026-85532Apache Wss4j improper input validation
CVSS score
7.5
High
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
0.55%
0.55% chance of exploitation in the next 30 days, higher than 46.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Check whether you're affected
Find every system running Apache Wss4j and compare its version with the affected versions.
Update to a fixed version
- Update Apache WSS4J to 2.4.4, 3.0.6, 4.0.2 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Wss4j | < 2.4.4 · ≥ 3.0.0, < 3.0.6 · ≥ 4.0.0, < 4.0.2 |
| Apache Apache WSS4J | ≥ 4.0.0, < 4.0.2 · ≥ 3.0.0, < 3.0.6 · < 2.4.4 |
Weakness
- CWE-20 improper input validation
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-85532 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-85532?
CVE-2026-85532 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Apache Wss4j (< 2.4.4; ≥ 3.0.0, < 3.0.6; ≥ 4.0.0, < 4.0.2), Apache Apache WSS4J (≥ 4.0.0, < 4.0.2; ≥ 3.0.0, < 3.0.6; < 2.4.4)
Is there a patch for CVE-2026-85532?
The official record links to vendor advisories or patches; see “What to do” above.
References
- lists.apache.org/thread.html/7jllcpbf4nbzhdp2vchz5yplnl5w6vd6(Mailing List, Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/09/30/8(Mailing List, Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.