CVE-2026-95616

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

Published Sep 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache
Apache wss4j
CPEs cpe:2.3:a:apache:wss4j:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache wss4j
Type Values Removed Values Added
Weaknesses CWE-680
Type Values Removed Values Added
References
Metrics ssvc

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

Type Values Removed Values Added
Weaknesses CWE-680
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'}

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 30, 2026, 1:17 PM
Reserved
Sep 22, 2026, 10:04 AM
Status
Analyzed
Published
Sep 30, 2026, 1:17 PM
Modified
Oct 6, 2026, 5:21 PM