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.
Published: 2026-09-30
Score: n/a
EPSS: n/a
KEV: No
Impact: Cryptographic Weakness and DoS
Action: Patch
AI Analysis

Impact

Apache WSS4J accepts attacker‑controlled derived‑key lengths and offsets with insufficient bounds checking. The flaw allows crafting of WS‑Security messages that produce cryptographically weak keys or trigger high CPU and memory usage. According to CWE‑20, improper input validation can lead to weakened encryption or denial of service. The impact includes compromised encryption strength and potential service disruption due to resource exhaustion.

Affected Systems

The affected component is the Apache WSS4J library from the Apache Software Foundation. Versions 2.4.4, 3.0.6, and 4.0.2 contain the vulnerability. These releases provide libraries for Java‑based web services that handle WS‑Security. All deployments that embed these specific versions are at risk until the fixes are applied.

Risk and Exploitability

The CVSS score is not provided, but the vulnerability permits significant resource consumption and weak encryption, which can be critical for applications requiring high security and uptime. EPSS is unavailable, and the issue is not listed in the CISA KEV catalog; however, the lack of bounds checking suggests a high likelihood of exploitation if an attacker can send crafted messages. The official fix enforces minimum and maximum key lengths and offsets, mitigating both cryptographic and DoS aspects.

Generated by OpenCVE AI on September 30, 2026 at 13:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache WSS4J to 4.0.2, 3.0.6, or 2.4.4, which implement the proper bounds on derived‑key parameters.
  • As a temporary measure, restrict inbound WS‑Security traffic or apply rate limiting to reduce the risk of high CPU/memory load.
  • Enable monitoring of key length and offset parameters in logs to detect anomalous requests before they can impact resources.

Generated by OpenCVE AI on September 30, 2026 at 13:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
References

Wed, 30 Sep 2026 12:00:00 +0000

Type Values Removed Values Added
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.
Title Apache WSS4J: Insufficient Validation of Derived-Key Parameters
Weaknesses CWE-20
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-30T12:12:20.055Z

Reserved: 2026-09-04T08:53:00.776Z

Link: CVE-2026-85532

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-30T12:17:13.933

Modified: 2026-09-30T13:17:20.717

Link: CVE-2026-85532

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T13:30:17Z

Weaknesses
  • CWE-20

    Improper Input Validation