Skip to content

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

HighCVSS 7.5 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

12 packages: 2 fixed, 10 with no fix yet.

PackageAffectedFixed inStatus
debian/wss4j(Debian 12) = 1.6.19-3; = 1.6.19-4; All versions No fix listed No fix yet
debian/wss4j(Debian 13) = 1.6.19-4; All versions No fix listed No fix yet
debian/wss4j(Debian 14) = 1.6.19-4; All versions No fix listed No fix yet
redhat/wss4j-ws-security-common(Red Hat jboss_enterprise_application_platform 7) All versions No fix listed No fix yet
redhat/wss4j-ws-security-common(Red Hat jboss_enterprise_application_platform 8) All versions No fix listed No fix yet
redhat/wss4j-ws-security-common(Red Hat jbosseapxp) All versions No fix listed No fix yet
ubuntu/wss4j(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/wss4j(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/wss4j(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/wss4j(Ubuntu 26.10) All versions No fix listed No fix yet
apache wss4j < 2.4.4; >= 3.0.0, < 3.0.6; >= 4.0.0, < 4.0.2 2.4.4, 3.0.6, 4.0.2 Fixed
org.apache.wss4j/wss4j-ws-security-common(Maven) < 2.4.4; >= 3.0.0, < 3.0.6; >= 4.0.0, < 4.0.2 2.4.4, 3.0.6, 4.0.2 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.wss4j/wss4j-ws-security-common(Maven) >= 4.0.0, < 4.0.2 4.0.2
org.apache.wss4j/wss4j-ws-security-common(Maven) >= 3.0.0, < 3.0.6 3.0.6
org.apache.wss4j/wss4j-ws-security-common(Maven) < 2.4.4 2.4.4
redhat/wss4j-ws-security-common(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/wss4j-ws-security-common(Red Hat:jboss_enterprise_application_platform:8) All versions No fix listed
redhat/wss4j-ws-security-common(Red Hat:jbosseapxp) All versions No fix listed
debian/wss4j(Debian:12) All versions No fix listed
debian/wss4j(Debian:12) = 1.6.19-3 No fix listed
debian/wss4j(Debian:12) = 1.6.19-4 No fix listed
debian/wss4j(Debian:13) All versions No fix listed
debian/wss4j(Debian:13) = 1.6.19-4 No fix listed
debian/wss4j(Debian:14) All versions No fix listed
debian/wss4j(Debian:14) = 1.6.19-4 No fix listed
ubuntu/wss4j(Ubuntu:22.04) All versions No fix listed
ubuntu/wss4j(Ubuntu:24.04) All versions No fix listed
ubuntu/wss4j(Ubuntu:26.04) All versions No fix listed
ubuntu/wss4j(Ubuntu:26.10) All versions No fix listed
apache wss4j < 2.4.4 2.4.4
apache wss4j >= 3.0.0, < 3.0.6 3.0.6
apache wss4j >= 4.0.0, < 4.0.2 4.0.2

References