GHSA-5x6j-m6jc-q2r5
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed WSS4J SOAP endpoint
-
DeliveryCraft WS-Security message with abusive derived-key length/offset
-
ExploitServer processes without bounds check
-
ExecutionExcessive CPU/memory allocation
-
ImpactService denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires a service that embeds Apache WSS4J and processes inbound WS-Security messages containing derived-key elements - i.e., a SOAP endpoint accepting WS-Security tokens is exposed to the attacker. No authentication or user interaction is required (PR:N/UI:N). The limiting factor is deployment topology: only applications that actually consume WSS4J-processed WS-Security messages (e.g., Apache CXF-based SOAP web services) on affected versions (<2.4.4, <3.0.6, <4.0.2) are at risk; endpoints not exposing WS-Security message processing are unaffected. |
| Impact | The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a remotely reachable, low-complexity, unauthenticated flaw whose sole rated impact is availability - consistent with the CWE-20 input-validation description where attacker-controlled derived-key lengths/offsets drive excessive CPU/memory consumption. The CISA SSVC framework aligns and tempers this: Exploitation is 'none' (no observed or public exploitation), Automatable is 'yes' (a crafted WS-Security message can be sprayed at any listening endpoint), and Technical Impact is 'partial' - matching a DoS rather than full compromise. No KEV listing and no POC were provided, and no EPSS score is present in the input, so exploitation likelihood cannot be quantified from these signals; the honest read is 'exploitable-in-principle but not yet observed.' Note a signal tension: the description also warns of 'cryptographically weak keys,' which implies a potential confidentiality/integrity dimension, yet the vendor scored C:N/I:N - the DoS path is the concrete, primary risk while the weak-key path is contingent and unquantified. Net: a genuine but moderate-priority availability issue for exposed SOAP/WS-Security endpoints, not a critical widespread-exploitation emergency. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted WS-Security SOAP message to a service that uses Apache WSS4J, specifying an abusive derived-key length or offset that the library accepts without bounds checking. WSS4J allocates excessive CPU/memory while processing the message, degrading or exhausting the service. No public exploit code was identified at time of analysis, but the attack is network-reachable, requires no authentication, and is automatable per CISA SSVC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 30, 2026
Denial of service in Apache WSS4J (2.x before 2.4.4, 3.x before 3.0.6, and 4.x before 4.0.2) allows unauthenticated remote attackers to force excessive CPU and memory consumption by sending crafted WS-Security messages whose derived-key Length and Offset values are not validated by the library. The issue is a CWE-20 improper input validation flaw rated by the vendor at CVSS 3.1 base 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), so the rated impact is availability only, although the same unchecked bounds could in principle yield cryptographically weak derived keys. Vendor patches are available in 4.0.2, 3.0.6, and 2.4.4; CISA SSVC lists Exploitation: none with Automatable: yes, and no public exploit identified at time of analysis.
Earlier versions of this analysis (1)
Apache WSS4J (org.apache.wss4j:wss4j-ws-security-common) versions 4.0.0 through 4.0.1, 3.0.0 through 3.0.5, and all releases before 2.4.4 accept attacker-controlled derived-key length and offset values without adequate bounds checking, so an unauthenticated remote attacker who can submit a crafted WS-Security SOAP message to an endpoint that processes derived-key tokens can force WSS4J to derive cryptographically weak (short) keys or to consume excessive CPU and memory via oversized length/offset parameters. The Apache project rates the issue moderate; no CISA KEV entry, public proof-of-concept, or EPSS score is present in the available data, so there is no public exploit identified at time of analysis, and the assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L) reflects low confidentiality and availability impact rather than code execution or data modification. Affected deployments are limited to services that actually enable WS-Security processing of derived-key/secure-conversation style tokens; the fix bounds key length to 16-512 bytes and offset to 4096 bytes, so patched systems are not exploitable.
RemediationAI
Apply the vendor-released patches: upgrade to Apache WSS4J 4.0.2 (4.x line), 3.0.6 (3.x line), or 2.4.4 (2.x line), which enforce a 16-byte minimum derived-key length, a 512-byte maximum length, and a 4096-byte maximum offset; these are the exact fixed versions named in the advisory. Where an upgrade cannot be scheduled immediately, reduce exposure by restricting which SOAP endpoints accept WS-Security derived-key tokens (for example, disabling WS-SecureConversation/WS-Trust derived-key processing in CXF or Axis2 configurations where it is not required), applying request-size and rate limits at the SOAP gateway or reverse proxy, and capping per-request processing time or concurrency for the affected service - with the trade-off that size/rate limits may reject legitimate large messages and may only blunt, not eliminate, the resource-exhaustion path. Deploying a WAF rule that rejects WS-Security messages whose DerivedKeyToken Length exceeds 512 bytes or Offset exceeds 4096 bytes can act as a stopgap, but signature-wrapped or encrypted tokens may bypass content inspection; note that upstream fix details are also referenced via GitHub/commit or advisory channels, and released patched versions should be confirmed against the vendor advisories at https://ws.apache.org/ and https://seclists.org/oss-sec/2026/q3/1021 before deployment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache WSS4J is the Java library that implements WS-Security for SOAP web services and is embedded by frameworks such as Apache CXF and Axis2 to handle security tokens, signatures, and encryption on inbound and outbound messages. The vulnerable code path is the derived-key handling used by WS-SecureConversation/WS-Trust style tokens (DerivedKeyToken), where the message-supplied Length and Offset attributes are used to derive session keys. Because those attacker-controlled values were accepted without bounds, a crafted message can request a derived key of negligible length (weakening the resulting cryptographic material, which is why the advisory references information disclosure) or an extremely large length/offset that forces the server to allocate and process disproportionate amounts of memory and CPU. The root cause class is CWE-20 improper input validation, and the fixes apply hard limits: a minimum derived-key length of 16 bytes, a maximum length of 512 bytes, and a maximum offset of 4096 bytes. The CVSS vector (AV:N/AC:L/PR:N/UI:N, no changed scope) confirms the flaw is remotely reachable over the network at low complexity and requires neither credentials nor user interaction; only applications that actually consume WSS4J-processed WS-Security messages on affected versions are exposed, so risk is bounded by deployment topology rather than by any attacker prerequisite.
Know when Wss4J gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated crafted WS-Security message with low complexity yields resource-exhaustion DoS (A:H); confidentiality/integrity kept N as weak-key impact is contingent and unrated by vendor.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
Apache WSS4J, the WS-Security library embedded in many Java SOAP/web-service stacks, can be driven into excessive CPU and memory consumption by unauthenticated remote attackers who submit crafted WS-Security messages with unvalidated derived-key Length and Offset values. Any externally reachable service that depends on the affected 2.x, 3.x, or 4.x branches is exposed to a sustained availability risk, including customer-facing APIs and internal integrations that route through the same runtime. Leadership should treat this as a service-disruption and operational-resilience issue rather than a data-confidentiality one: ratings show availability impact only, and no public exploit has been identified at time of analysis, but vendor patches are already available and remediation effort is low.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Unauthenticated remote attackers can bypass authentication in Apache WSS4J (4.0.0 before 4.0.2, 3.0.0 before 3.0.6, and
WS-Security policy bypass in Apache WSS4J (4.0.0 <4.0.2, 3.0.0 <3.0.6, and 0 <2.4.4) allows an unauthenticated remote at
Apache WSS4J before 1.6.17 and 2.0.x before 2.0.2 improperly leaks information about decryption failures when decrypting
Apache WSS4J before 1.6.17 and 2.x before 2.0.2 allows remote attackers to bypass the requireSignedEncryptedDataElements
XML Signature Wrapping protections in Apache WSS4J's streaming (StAX) code path can be bypassed, allowing a remote unaut
Unauthenticated denial of service in Apache WSS4J lets remote attackers exhaust server memory by sending SOAP messages t
Apache WSS4J before 1.6.17 and 2.x before 2.0.2, as used in Apache CXF 2.7.x before 2.7.13 and 3.0.x before 3.0.2, when
UsernameToken replay protection in Apache WSS4J can be bypassed by re-encoding the Nonce, allowing a captured authentica
Apache WSS4J versions 4.0.0 through 4.0.1, 3.0.0 through 3.0.5, and all 2.x releases before 2.4.4 can accept SOAP messag
EUVD-2026-89791
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB