CVE-2022-40151
HIGH7.5EPSS 0.26%XStream can cause a Denial of Service by injecting deeply nested objects raising a stack overflow
Published: 12/30/2022Modified: 4/28/2026
Description
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.
Affected packages (2)
- Debian/libxstream-javafrom 0
- Maven/com.thoughtworks.xstream:xstreamfrom 0, < 1.4.20
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-40151
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-40151
- PATCHhttps://github.com/x-stream/xstream
- WEBhttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47367
- WEBhttps://github.com/x-stream/xstream/issues/304
- WEBhttps://github.com/x-stream/xstream/issues/314
- WEBhttps://github.com/x-stream/xstream/security/advisories/GHSA-f8cc-g7j8-xxpm
- WEBhttps://x-stream.github.io/CVE-2022-40151.html