CVE-2022-40152
CVE-2022-40152 is a medium-severity vulnerability in Xstream with a CVSS 3.x base score of 6.5. Its EPSS exploit-prediction score of 20% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 20% (97th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Xstream
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-40152?
- 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.
- How severe is CVE-2022-40152?
- CVE-2022-40152 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2022-40152 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 20% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-40152?
- CVE-2022-40152 primarily affects Xstream. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-40152?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-40152 published?
- CVE-2022-40152 was published on 2022-09-16 and last updated on 2026-06-17.
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434
- https://github.com/x-stream/xstream/issues/304
Affected products (2)
- cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
- cpe:2.3:a:fasterxml:woodstox:*:*:*:*:*:*:*:*
More vulnerabilities in Xstream
- CVE-2019-10173 — Critical (CVSS 9.8): It was found that xstream API version 1.4.10 before 1.4.11 introduced a regression for a previous deserialization flaw.…
- CVE-2013-7285 — Critical (CVSS 9.8): Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a…
- CVE-2021-39152 — High (CVSS 8.5): XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may…
- CVE-2021-39150 — High (CVSS 8.5): XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may…
- CVE-2021-39154 — High (CVSS 8.5): XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may…
- CVE-2021-39153 — High (CVSS 8.5): XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may…
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…