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: 7.5 High
EPSS: < 1% Very Low
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 7.5, indicating a high severity vulnerability that 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 22:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

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 22:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:wss4j:*:*:*:*:*:*:*:*

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

Type Values Removed Values Added
First Time appeared Apache
Apache wss4j
Vendors & Products Apache
Apache wss4j

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

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-30T19:46:00.962Z

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

Link: CVE-2026-85532

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-02T20:14:49.163

Link: CVE-2026-85532

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T22:45:16Z

Weaknesses
  • CWE-20

    Improper Input Validation