CVE-2026-85532: Apache WSS4J: Insufficient Validation of Derived-Key Parameters

Published Sep 30, 2026
·
Updated

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.

Affected Software

1 affected component
Apache WSS4J<4.0.2, <3.0.6, <2.4.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache WSS4J to a version that resolves this vulnerability.

    Fixed in 4.0.2
  2. Upgrade

    Upgrade Apache WSS4J to a version that resolves this vulnerability.

    Fixed in 3.0.6
  3. Upgrade

    Upgrade Apache WSS4J to a version that resolves this vulnerability.

    Fixed in 2.4.4

Event History

Sep 30, 2026
CVE Published
via MITRE·11:55 AM
Data Sourced
via MITRE·11:55 AM
DescriptionWeakness
Data Sourced
via NVD·12:17 PM
DescriptionWeakness

Frequently Asked Questions

1

What message processing paths are exposed to this issue?

Any Apache WSS4J deployment that processes crafted WS-Security messages containing attacker-controlled derived-key parameters may be exposed. The issue is triggered during processing of those parameters.

2

What must an attacker be able to do to exploit this?

An attacker needs to supply a crafted WS-Security message with derived-key lengths or offsets outside safe bounds. The malformed values can lead to weak derived keys or excessive CPU and memory consumption.

3

What parameter limits are enforced by the fix?

The fix requires a derived-key length of at least 16 bytes and no more than 512 bytes, and limits the derived-key offset to 4096 bytes.

4

Which versions contain the fix?

Upgrade to Apache WSS4J version 4.0.2, 3.0.6, or 2.4.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203