Skip to main content

An integer overflow in WSS4J's DER bounds check lets an oversized allocation pass validation. (CVE-2026-95616)

0
Medium
Published: 09/30/2026 (09/30/2026, 13:17:00 UTC)
Source: GCVE Database
Product: wss4j

Description

An integer overflow vulnerability in WSS4J's DER bounds check allows an attacker to cause an oversized memory allocation. By sending a specially crafted SOAP message with an X.509 certificate containing a SubjectKeyIdentifier extension length of 0x7FFFFFFF, an attacker can trigger a large memory allocation before authentication. This can lead to server memory exhaustion. Fixed versions 4.0.2, 3.0.6, and 2.4.4 address this issue.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
wss4j
pkg:deb/ubuntu/wss4j?arch=source&distro=xenial
Affected versions
=1.6.15-2
Ubuntu:18.04:LTSmore threats →ghsa
wss4j
pkg:deb/ubuntu/wss4j?arch=source&distro=bionic
Affected versions
=1.6.19-1
Ubuntu:20.04:LTSmore threats →ghsa
wss4j
pkg:deb/ubuntu/wss4j?arch=source&distro=focal
Affected versions
=1.6.19-2
Ubuntu:22.04:LTSmore threats →ghsa
wss4j
pkg:deb/ubuntu/wss4j?arch=source&distro=jammy
Affected versions
=1.6.19-2
Ubuntu:24.04:LTSmore threats →ghsa
wss4j
pkg:deb/ubuntu/wss4j?arch=source&distro=noble
Affected versions
=1.6.19-3
Ubuntu:26.10more threats →ghsa
wss4j
pkg:deb/ubuntu/wss4j?arch=source&distro=stonking
Affected versions
=1.6.19-4build1
Ubuntu:26.04:LTSmore threats →ghsa
wss4j
pkg:deb/ubuntu/wss4j?arch=source&distro=resolute
Affected versions
=1.6.19-4=1.6.19-4build1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:00:29 UTC

Technical Analysis

CVE-2026-95616 describes an integer overflow in the DER bounds check of WSS4J's processing of the SubjectKeyIdentifier extension in X.509 certificates. An unauthenticated attacker can send a SOAP message with a certificate declaring an excessively large length (0x7FFFFFFF) for this extension. WSS4J decodes this length while resolving the signature's key reference before authenticating the message, causing an 11-byte extension to trigger a 2 GB memory allocation. Repeated exploitation can exhaust server memory, resulting in denial of service. The vulnerability is fixed in WSS4J versions 4.0.2, 3.0.6, and 2.4.4.

Potential Impact

The vulnerability allows unauthenticated attackers to cause a denial of service by exhausting server memory through repeated requests with maliciously crafted certificates. There is no impact on confidentiality or integrity reported. The CVSS 3.1 score is 7.5 (High), reflecting the network attack vector, low complexity, no privileges required, no user interaction, and an impact limited to availability.

Mitigation Recommendations

Users should upgrade WSS4J to versions 4.0.2, 3.0.6, or 2.4.4, which contain fixes for this integer overflow vulnerability. Applying these official patches will prevent the oversized memory allocation and associated denial of service. No other mitigations are specifically recommended by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-95616
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f5162cdf04f656657c56

Added to database: 10/17/2026, 22:22:14 UTC

Last enriched: 10/17/2026, 23:00:29 UTC

Last updated: 10/17/2026, 23:00:29 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses