1. Home
  2. Vulnerabilities
  3. CVE-2026-95616

CVE-2026-95616

Apache WSS4J: Unauthenticated denial of service via integer overflow in DER parsing of X.509 certificate extensions

Published 30 Sept 2026 · modified 6 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 42/100

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.

Affected products and versions

Apache (6 line(s))
Apache
ProductVersionsFixed inSource
Wss4j from 4.0.0 (included) to 4.0.2 (excluded) — CNA (vendor or assigner)
Wss4j from 3.0.0 (included) to 3.0.6 (excluded) — CNA (vendor or assigner)
Wss4j before 2.4.4 (excluded) — CNA (vendor or assigner)
Wss4j before 2.4.4 (excluded) — NVD
Wss4j from 3.0.0 (included) to 3.0.6 (excluded) — NVD
Wss4j from 4.0.0 (included) to 4.0.2 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Weakness
CWE-190 · Corruption mémoire

How this data is obtained and calculated