CVE-2022-40152: Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is
CVE-2022-40152 is a medium-severity flaw (CVSS 6.5) affecting xstream, woodstox. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 3%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-40152?
xstream: upgrade to 1.4.20; woodstox: upgrade to 5.4.0, 6.4.0. Exact commands for each OS are on this page.
Is CVE-2022-40152 being exploited?
CVE-2022-40152 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-40152 affect?
CVE-2022-40152 affects xstream, woodstox. Severity is medium (CVSS 6.5). 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 stacko
How urgent is CVE-2022-40152?
Priority 52/100. EPSS top 3%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2013-7285 CRITICAL 9.8 DOWNGRADE DOWNGRADE Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may a
- CVE-2021-39153 HIGH 8.5 UPGRADE MITIGATE XStream is a simple library to serialize objects to XML and back again
- CVE-2021-39152 HIGH 8.5 UPGRADE MITIGATE XStream is a simple library to serialize objects to XML and back again
- CVE-2021-39151 HIGH 8.5 UPGRADE MITIGATE XStream is a simple library to serialize objects to XML and back again
- CVE-2021-39150 HIGH 8.5 UPGRADE MITIGATE XStream is a simple library to serialize objects to XML and back again