wss4j — security advisory
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.
- Products
- wss4j
- Affected versions
- 1.6.15-2, 1.6.19-1, 1.6.19-2, 1.6.19-3, 1.6.19-4, 1.6.19-4build1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-95616
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:34 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-95616
wss4j
Fixed versions: Not specified
wss4j
Fixed versions: Not specified
wss4j
Fixed versions: Not specified
wss4j
Fixed versions: Not specified
wss4j
Fixed versions: Not specified
wss4j
Fixed versions: Not specified
wss4j
Fixed versions: Not specified
Complete source record
{
"id": "fcd4b321d00f9e85a60b4a08a8535964fc6eb6ad0c493f67696c1c948c17a57b",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-95616",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-95616",
"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.",
"evidence": "osv:UBUNTU-CVE-2026-95616",
"products": [
{
"name": {
"value": "wss4j",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.15-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "wss4j",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.19-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "wss4j",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.19-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "wss4j",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.19-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "wss4j",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.19-3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "wss4j",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.19-4build1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "wss4j",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.19-4",
"evidence": "/affected/6/versions"
},
{
"value": "1.6.19-4build1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-95616",
"aliases": [
"UBUNTU-CVE-2026-95616"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wss4j",
"purl": "pkg:deb/ubuntu/wss4j?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.6.15-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-95616.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libwss4j-java",
"binary_version": "1.6.15-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wss4j",
"purl": "pkg:deb/ubuntu/wss4j?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.6.19-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-95616.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libwss4j-java",
"binary_version": "1.6.19-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wss4j",
"purl": "pkg:deb/ubuntu/wss4j?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.6.19-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-95616.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libwss4j-java",
"binary_version": "1.6.19-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wss4j",
"purl": "pkg:deb/ubuntu/wss4j?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.6.19-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-95616.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libwss4j-java",
"binary_version": "1.6.19-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wss4j",
"purl": "pkg:deb/ubuntu/wss4j?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.6.19-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-95616.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libwss4j-java",
"binary_version": "1.6.19-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wss4j",
"purl": "pkg:deb/ubuntu/wss4j?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.6.19-4build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-95616.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libwss4j-java",
"binary_version": "1.6.19-4build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "wss4j",
"purl": "pkg:deb/ubuntu/wss4j?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.6.19-4",
"1.6.19-4build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-95616.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libwss4j-java",
"binary_version": "1.6.19-4build1"
}
]
}
}
],
"modified": "2026-10-17T13:01:19.546994841Z",
"provider": "osv",
"upstream": [
"CVE-2026-95616"
],
"references": [
"https://ubuntu.com/security/CVE-2026-95616",
"https://www.cve.org/CVERecord?id=CVE-2026-95616",
"https://lists.apache.org/thread.html/sdf0fsphkg4qbj7nh2brjgwvcmd67hct"
]
},
"related_cves": [
{
"value": "CVE-2026-95616",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361679,
"published_at": "2026-09-30T13:17:00+00:00"
}