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.
Published: 2026-09-30
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

An integer overflow in WSS4J’s DER bounds check allows an unauthenticated attacker to send a SOAP message containing an X.509 certificate with a SubjectKeyIdentifier extension length of 0x7FFFFFFF. WSS4J decodes this extension while resolving a signature key reference, before any authentication takes place, and allocates an 2 GB buffer. Repeated requests exhaust server memory, resulting in a denial of service.

Affected Systems

The vulnerability affects Apache WSS4J versions prior to 4.0.2, 3.0.6, and 2.4.4. Any deployment using these older releases is exposed. The fix is applied in the listed newer versions.

Risk and Exploitability

The attack requires only network access and no authentication; the exploit path is straightforward enough to be automated. Although the EPSS score is not available, the impact of exhausting memory is significant, and the vulnerability is not listed in CISA’s KEV catalog. The primary risk is a remote denial of service that can be triggered by a single malformed SOAP request, potentially affecting all users of the vulnerable WSS4J instance.

Generated by OpenCVE AI on September 30, 2026 at 23:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Apache WSS4J library to a fixed release—4.0.2, 3.0.6, or 2.4.4—depending on your version.
  • If an immediate upgrade is not possible, protect the service by restricting the size of incoming SOAP messages and rate‑limiting requests to the WSS4J endpoint to prevent memory exhaustion.
  • Implement ASN.1 DER validation to reject certificates that advertise excessively large extension lengths before parsing to provide a temporary mitigation until the library is updated.

Generated by OpenCVE AI on September 30, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache wss4j
CPEs cpe:2.3:a:apache:wss4j:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache wss4j

Wed, 30 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-680

Wed, 30 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-680

Wed, 30 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Wed, 30 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title Apache WSS4J: Unauthenticated denial of service via integer overflow in DER parsing of X.509 certificate extensions
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-30T13:17:31.672Z

Reserved: 2026-09-22T10:04:52.017Z

Link: CVE-2026-95616

cve-icon Vulnrichment

Updated: 2026-09-30T13:17:31.672Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-30T13:17:28.863

Modified: 2026-10-06T17:21:33.233

Link: CVE-2026-95616

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T23:30:07Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound