CVE-2026-95616: Apache Wss4j Integer Overflow or Wraparound

CVE-2026-95616

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
HIGH(7.5)
Published Date
Sep 30, 2026
Last Modified
Oct 6, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.41%Probability
Root Weakness (CWE)
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes the resulting value will always be larger than the original.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Apache Wss4j < 2.4.4
  • Apache Wss4j >= 3.0.0 and < 3.0.6
  • Apache Wss4j >= 4.0.0 and < 4.0.2
  • Apache Software Foundation Apache WSS4J >= 4.0.0 and < 4.0.2
  • Apache Software Foundation Apache WSS4J >= 3.0.0 and < 3.0.6
  • Apache Software Foundation Apache WSS4J < 2.4.4
Patched Versions
  • Apache Wss4j 2.4.4
  • Apache Wss4j 3.0.6
  • Apache Wss4j 4.0.2
  • Apache Software Foundation Apache WSS4J 4.0.2
  • Apache Software Foundation Apache WSS4J 3.0.6
  • Apache Software Foundation Apache WSS4J 2.4.4

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Apache Wss4j and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Sep 30, 2026Published
  • Oct 6, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Wss4j CVEsYou are reading CVE-2026-95616. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 3, 2026 15:46 UTC