CVE-2026-85532: CWE-20 Improper input validation in Apache Software Foundation Apache WSS4J
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.
AI Analysis
Technical Summary
CVE-2026-85532 is an input validation vulnerability in Apache WSS4J where attacker-controlled derived-key lengths and offsets were accepted without adequate bounds checking. This could lead to the use of cryptographically weak keys or excessive CPU and memory usage during WS-Security message processing. The vulnerability is addressed by enforcing a minimum key length of 16 bytes, a maximum length of 512 bytes, and a maximum offset of 4096 bytes. Users are advised to upgrade to Apache WSS4J versions 4.0.2, 3.0.6, or 2.4.4 or later to remediate this issue.
Potential Impact
An attacker could exploit this vulnerability to cause the generation of weak cryptographic keys or trigger excessive CPU and memory consumption, potentially degrading service performance or causing denial of service conditions. There is no indication of active exploitation in the wild.
Mitigation Recommendations
Upgrade Apache WSS4J to version 4.0.2, 3.0.6, or 2.4.4 or later, which include fixes enforcing proper bounds on derived-key lengths and offsets. No other mitigation is required as the issue is resolved in these versions.
CVE-2026-85532: CWE-20 Improper input validation in Apache Software Foundation Apache WSS4J
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.
Affected software
Apache Software Foundation
Apache WSS4J
pkg:maven/Apache Software Foundation/org.apache.wss4j:wss4j-ws-security-commonRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-85532 is an input validation vulnerability in Apache WSS4J where attacker-controlled derived-key lengths and offsets were accepted without adequate bounds checking. This could lead to the use of cryptographically weak keys or excessive CPU and memory usage during WS-Security message processing. The vulnerability is addressed by enforcing a minimum key length of 16 bytes, a maximum length of 512 bytes, and a maximum offset of 4096 bytes. Users are advised to upgrade to Apache WSS4J versions 4.0.2, 3.0.6, or 2.4.4 or later to remediate this issue.
Potential Impact
An attacker could exploit this vulnerability to cause the generation of weak cryptographic keys or trigger excessive CPU and memory consumption, potentially degrading service performance or causing denial of service conditions. There is no indication of active exploitation in the wild.
Mitigation Recommendations
Upgrade Apache WSS4J to version 4.0.2, 3.0.6, or 2.4.4 or later, which include fixes enforcing proper bounds on derived-key lengths and offsets. No other mitigation is required as the issue is resolved in these versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-09-04T08:53:00.776Z
- State
- PUBLISHED
Threat ID: 6abcfcc40df196e1a9fc0dd4
Added to database: 09/30/2026, 12:12:52 UTC
Last enriched: 09/30/2026, 12:27:13 UTC
Last updated: 09/30/2026, 13:03:41 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.