7.5

CVE-2021-21341: XStream can cause a Denial of Service

Analyzed
AliasesUBUNTU-CVE-2021-21341DEBIAN-CVE-2021-21341CGA-4wpw-8rmf-xp95
Published 22-03-2021Last modified 07-10-2026

Vulnerability summary

CVE-2021-21341 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in apache activemq. EPSS estimates a 77.80% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
77.80%
0%100%
Critical · 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 9 · Related 7

Timeline

  1. 22-03-2021
    PublishedVulnerability first disclosed.
  2. 07-10-2026
    Last modifiedVulnerability information updated.

Description

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is vulnerability which may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. No user is affected who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

77.80%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 77.80% on 04-11-2026

04-11-202604-12-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 (x-stream.github.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

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

Oracle7 products
Apache2 products
Chainguard2 products
  • hadoop-fips-3.3.6All versions (No fix recorded)
  • hadoop-fips-3.4.2All versions (No fix recorded)
Debian2 products
Com.thoughtworks.xstream1 product
  • xstream< 1.4.16
Fedoraproject1 product
Netapp1 product
Ubuntu1 product
  • libxstream-java< 1.4.7-1ubuntu0.1+esm2 | < 1.4.8-1ubuntu0.1+esm3 | < 1.4.11.1-1~18.04.2 | < 1.4.11.1-1ubuntu0.2
X-stream1 product
Xstream1 product

10 vendors · 19 products

References

28 links
Show all 28 references