7.5

CVE-2022-40151: Stack Buffer Overflow in xstream

Analyzed
AliasesUBUNTU-CVE-2022-40151DEBIAN-CVE-2022-40151CGA-3364-63mp-7cwv
Published 16-09-2022Last modified 21-04-2025

Vulnerability summary

CVE-2022-40151 is a high (CVSS 7.5) Stack-based Buffer Overflow vulnerability in xstream. EPSS estimates a 2.22% chance of exploitation in the next 30 days, higher than 82.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 16-09-2022
    PublishedVulnerability first disclosed.
  2. 21-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

2.22%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.22% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.chromium.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • hadoop-fips-3.3.6All versions (No fix recorded)
  • hadoop-fips-3.4.2All versions (No fix recorded)
Com.thoughtworks.xstream1 product
  • xstream< 1.4.20
Debian1 product
  • libxstream-javaAll versions (No fix recorded)
Ubuntu1 product
  • libxstream-javaAll versions (No fix recorded)
Xstream1 product
  • xstream≥ unspecified, ≤ 1.4.19 | < 1.4.20

5 vendors · 6 products

References

11 links
Show all 11 references