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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-03-22 · Modified: 2026-10-07
- Aliases: UBUNTU-CVE-2021-21341, DEBIAN-CVE-2021-21341, CGA-4wpw-8rmf-xp95, GHSA-2p3x-qw9c-25hh, BIT-activemq-2021-21341, CGA-v735-v384-53gm, CGA-vvcj-c9x2-mgwx, CGA-x6wm-27m6-8426
- Record: https://cvemate.com/vulnerability/CVE-2021-21341 · JSON: https://cvemate.com/vulnerability/CVE-2021-21341/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 77.801%, percentile 99.576%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- apache activemq: \< 5.15.14 \| 5.16.0 \| 5.16.1
- apache jmeter: \< 5.5
- chainguard hadoop-fips-3.3.6 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.4.2 (Chainguard): All versions (No fix recorded)
- debian libxstream-java (Debian): \< 1.4.15-2
- ubuntu libxstream-java (Ubuntu): \< 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
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 33 \| 34 \| 35
- com.thoughtworks.xstream xstream (Maven): \< 1.4.16
- netapp oncommand\_insight: na
- oracle banking\_enterprise\_default\_management: 2.10.0 \| 2.12.0
- oracle banking\_platform: 2.4.0 \| 2.7.1 \| 2.9.0 \| 2.12.0
- oracle business\_activity\_monitoring: 11.1.1.9.0 \| 12.2.1.3.0 \| 12.2.1.4.0
- oracle communications\_billing\_and\_revenue\_management\_elastic\_charging\_engine: 12.0.0.3.0
- oracle communications\_unified\_inventory\_management: 7.3.2 \| 7.3.4 \| 7.3.5 \| 7.4.0 \| 7.4.1
- oracle retail\_xstore\_point\_of\_service: 16.0.6 \| 17.0.4 \| 18.0.3 \| 19.0.2
- oracle webcenter\_portal: 11.1.1.9.0 \| 12.2.1.3.0 \| 12.2.1.4.0
- x-stream xstream: \< 1.4.16
- xstream xstream: \< 1.4.16

## References (first 20 of 28)

- <https://x-stream.github.io/security.html#workaround>
- <http://x-stream.github.io/changes.html#1.4.16>
- <https://github.com/x-stream/xstream/security/advisories/GHSA-2p3x-qw9c-25hh>
- <https://x-stream.github.io/CVE-2021-21341.html>
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html>
- <https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E>
- <https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E>
- <https://security.netapp.com/advisory/ntap-20210430-0002/>
- <https://www.oracle.com//security-alerts/cpujul2021.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/>
- <https://www.oracle.com/security-alerts/cpuoct2021.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/>
- <https://www.debian.org/security/2021/dsa-5004>
- <https://www.oracle.com/security-alerts/cpujan2022.html>
- <https://ubuntu.com/security/CVE-2021-21341>
- <https://ubuntu.com/security/notices/USN-4943-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-21341>
- <https://ubuntu.com/security/notices/USN-6978-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-21341>

---

Data as of 2026-12-05T06:51:51.152Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
