Live threats

All CVEs / Xstream

CVE-2022-40151Xstream

High 7.5 No auth needed

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
Weakness (CWE)
CWE-121, CWE-787
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xstream.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
xstreamxstream< 1.4.20

Official sources

References

Links published by the sources. Open them with care.