Skip to content
RedCVE

CVE-2026-95616Apache Wss4j integer overflow

ApachePublished:

CVSS score

7.5

High

CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0

Exploit probability (EPSS)

0.41%

0.41% chance of exploitation in the next 30 days, higher than 35.9% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security@apache.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Apache Wss4j and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Apache WSS4J to 2.4.4, 3.0.6, 4.0.2 or later, on the branch you run.
  3. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  4. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

Affected productsVersions
Apache Wss4j< 2.4.4 · ≥ 3.0.0, < 3.0.6 · ≥ 4.0.0, < 4.0.2
Apache Apache WSS4J≥ 4.0.0, < 4.0.2 · ≥ 3.0.0, < 3.0.6 · < 2.4.4

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-95616 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-95616?

CVE-2026-95616 has a CVSS 3.1 base score of 7.5 (high).

Which versions are affected?

Apache Wss4j (< 2.4.4; ≥ 3.0.0, < 3.0.6; ≥ 4.0.0, < 4.0.2), Apache Apache WSS4J (≥ 4.0.0, < 4.0.2; ≥ 3.0.0, < 3.0.6; < 2.4.4)

Is there a patch for CVE-2026-95616?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.