CVE-2026-95616
Description
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.
How to fix
- apache wss4j2.4.4, 3.0.6, 4.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache wss4j | v < 2.4.4, 3.0.0 ≤ v < 3.0.6, 4.0.0 ≤ v < 4.0.2 | 2.4.4, 3.0.6, 4.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.