CVE-2026-95616: Apache WSS4J
High severity, CVSS 7.5. EPSS: 0.4% chance of exploitation in the next 30 days.
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 products
- Apache WSS4J: before 2.4.4 (fixed in 2.4.4); from 3.0.0, before 3.0.6 (fixed in 3.0.6); from 4.0.0, before 4.0.2 (fixed in 4.0.2)
Published 2026-09-30. Last modified 2026-10-06.