CVE-2022-40151: Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS)
CVE-2022-40151 is a medium-severity flaw (CVSS 6.5) affecting xstream. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). 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
- 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-40151?
xstream: upgrade to 1.4.20. Exact commands for each OS are on this page.
Is CVE-2022-40151 being exploited?
CVE-2022-40151 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-40151 affect?
CVE-2022-40151 affects xstream. Severity is medium (CVSS 6.5). Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). 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
How urgent is CVE-2022-40151?
Priority 48/100. 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