# CVE-2021-21347: XStream is vulnerable to an Arbitrary Code Execution attack

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-03-22 · Modified: 2026-10-07
- Aliases: UBUNTU-CVE-2021-21347, DEBIAN-CVE-2021-21347, CGA-pc2c-3cgv-q2f6, GHSA-qpfq-ph7r-qv6f, BIT-activemq-2021-21347, CGA-rhcr-vcmp-gxvp, CGA-rq4w-7j9x-4x9r, CGA-v9x4-x49c-jf4x
- Record: https://cvemate.com/vulnerability/CVE-2021-21347 · JSON: https://cvemate.com/vulnerability/CVE-2021-21347/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 a vulnerability which may allow a remote attacker to load and execute arbitrary code from a remote host 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: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 14.301%, percentile 96.705%, 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 (first 20 of 22)

- 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 banking\_virtual\_account\_management: 14.2.0 \| 14.3.0 \| 14.5.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\_policy\_management: 12.5.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
- oracle weblogic\_server: 12.1.3.0.0 \| 12.2.1.3.0 \| 12.2.1.4.0 \| 14.1.1.0.0

## References (first 20 of 28)

- <https://github.com/x-stream/xstream/security/advisories/GHSA-qpfq-ph7r-qv6f>
- <https://x-stream.github.io/security.html#workaround>
- <http://x-stream.github.io/changes.html#1.4.16>
- <https://x-stream.github.io/CVE-2021-21347.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-21347>
- <https://ubuntu.com/security/notices/USN-4943-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-21347>
- <https://ubuntu.com/security/notices/USN-6978-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-21347>

---

Data as of 2026-12-05T09:54:55.564Z. 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
