CVE-2022-40151Xstream
High 7.5 No auth needed
Follow: this CVE · Xstream · Xstream We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Sep 16, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Xstream.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream |
< 1.4.20 |
1.4.20 |
— |
Per OSV / GitHub Advisories (GHSA-f8cc-g7j8-xxpm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xstream | xstream | < 1.4.20 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.chromium.org Exploit Permissions Required Third Party Advisory
- github.com Issue Tracking Third Party Advisory