CVE-2026-95616
Published:September 30, 2026
Updated:October 15, 2026
An integer overflow in WSS4J's DER bounds check lets an oversized allocation pass validation. An unauthenticated attacker can send a SOAP message carrying an X.509 certificate whose SubjectKeyIdentifier extension declares a length of 0x7FFFFFFF; WSS4J decodes this while resolving the signature's key reference, before the message is authenticated, so an eleven-byte extension triggers a 2 GB allocation. Repeated requests exhaust server memory.
Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.
Affected Packages
https://github.com/apache/ws-wss4j.git (GITHUB):
Affected version(s) >=wss4j-3.0.0 <wss4j-3.0.6Fix Suggestion:
Update to version wss4j-3.0.6https://github.com/apache/ws-wss4j.git (GITHUB):
Affected version(s) >=wss4j-4.0.0 <wss4j-4.0.2Fix Suggestion:
Update to version wss4j-4.0.2https://github.com/apache/ws-wss4j.git (GITHUB):
Affected version(s) >=wss4j-2.0.0 <wss4j-2.4.4Fix Suggestion:
Update to version wss4j-2.4.4org.apache.wss4j:wss4j-ws-security-common (JAVA):
Affected version(s) >=3.0.0 <3.0.6Fix Suggestion:
Update to version 3.0.6org.apache.wss4j:wss4j-ws-security-common (JAVA):
Affected version(s) >=4.0.0 <4.0.2Fix Suggestion:
Update to version 4.0.2org.apache.wss4j:wss4j-ws-security-common (JAVA):
Affected version(s) >=2.0.0 <2.4.4Fix Suggestion:
Update to version 2.4.4Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Integer Overflow or Wraparound
EPSS
Base Score:
0.41