← Vulnerability feed

Vulnerability record · CVE-2022-40152 · published 16 September 2022

CVE-2022-40152: Xstream stack-based buffer overflow vulnerability

Xstream · Xstream

Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

7.5 CVSS 3.1 High EPSS 20% · top 2.7% CWE-121 · Stack-based buffer overflowCWE-787 · Out-of-bounds write
7.5CVSS 3.1 base score
20%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434 ExploitPermissions RequiredThird Party Advisory
https://github.com/x-stream/xstream/issues/304 Issue TrackingThird Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434 ExploitPermissions RequiredThird Party Advisory
https://github.com/x-stream/xstream/issues/304 Issue TrackingThird Party Advisory

Track CVE-2022-40152 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.5CVE-2021-39144XStream deserialization allows remote command executionXStream, a Java library that serializes objects to and from XML, can execute host commands when a remote attacker with sufficient rights manipulates …KEVEPSS 98%analysed9.9CVE-2021-21345XStream deserialization allows remote command executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, allowing code injection and OS command execution. The flaw is a …EPSS 72%analysed9.8CVE-2021-21347Netapp oncommand insight unrestricted file upload vulnerabilityXStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a re…EPSS 14%9.8CVE-2021-21350Netapp oncommand insight unrestricted file upload vulnerabilityXStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a re…EPSS 15%9.8CVE-2021-21344XStream deserialization allows remote code executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, letting a remote attacker craft a stream that loads and executes…EPSS 76%analysed9.8CVE-2021-21346XStream deserialization allows remote code executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, letting a remote attacker load and execute arbitrary code by man…EPSS 76%analysed9.8CVE-2019-10173XStream deserialization regression allows remote command executionXStream 1.4.10 before 1.4.11 reintroduced a deserialization flaw that had been fixed earlier (a regression of CVE-2013-7285). When the security frame…EPSS 95%analysed9.8CVE-2013-7285XStream deserialization allows remote OS command injectionXStream API versions up to 1.4.6 and version 1.4.10, when the security framework has not been initialized, allow a remote attacker to run arbitrary s…EPSS 84%analysed

Source: NIST National Vulnerability Database (record CVE-2022-40152), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.