Vulnerability · Published Sep 16, 2022 · Assigned by Google
CVE-2022-40151Stack Buffer Overflow in xstream
Medium 6.5
In plain English
A medium-severity stack buffer overflow in xstream from xstream. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)2.2%top 17.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxstream-java | no fix listed | DEBIAN-CVE-2022-40151 |
| Debian:13 | libxstream-java | no fix listed | DEBIAN-CVE-2022-40151 |
| Debian:14 | libxstream-java | no fix listed | DEBIAN-CVE-2022-40151 |
| Maven | com.thoughtworks.xstream:xstream | 1.4.20 | GHSA-f8cc-g7j8-xxpm |
| Ubuntu:22.04:LTS | libxstream-java | no fix listed | UBUNTU-CVE-2022-40151 |
| Ubuntu:24.04:LTS | libxstream-java | no fix listed | UBUNTU-CVE-2022-40151 |
| Ubuntu:25.10 | libxstream-java | no fix listed | UBUNTU-CVE-2022-40151 |
| Ubuntu:26.04:LTS | libxstream-java | no fix listed | UBUNTU-CVE-2022-40151 |
| Ubuntu:26.10 | libxstream-java | no fix listed | UBUNTU-CVE-2022-40151 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47367 x_refsource_MISC
- https://github.com/x-stream/xstream/issues/304 x_refsource_MISC