AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

Apache WSS4J: integer overflow

Apache Software Foundation

CVE-2026-95616 · Published Sep 30, 2026 · updated Oct 6, 2026

High7.5
Fix: upgrade to 4.0.2 or later (3 fixed versions below)

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 versions

PackageAffectedFixed in
Apache WSS4J
Product
>= 4.0.0, < 4.0.24.0.2
>= 3.0.0, < 3.0.63.0.6
< 2.4.42.4.4
Details and references

More Apache Software Foundation advisories

All Apache Software Foundation