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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-08-23 · Modified: 2026-10-07
- Aliases: UBUNTU-CVE-2021-39139, DEBIAN-CVE-2021-39139, CGA-2h7f-hwjf-43vw, CGA-jxrv-8cjc-4x84, GHSA-64xx-cq4q-mf44, CGA-q6hm-4p2j-7xg8, CGA-qj5g-h387-2mqw
- Record: https://cvemate.com/vulnerability/CVE-2021-39139 · JSON: https://cvemate.com/vulnerability/CVE-2021-39139/json

## Description

```text
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
```

## Signals

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

## Affected (first 20 of 21)

- 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.18-1
- ubuntu libxstream-java (Ubuntu): \< 1.4.11.1-1+deb10u4build0.18.04.1 \| \< 1.4.11.1-1ubuntu0.3
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 33 \| 34 \| 35
- com.thoughtworks.xstream xstream (Maven): \< 1.4.18
- netapp snapmanager: na
- oracle business\_activity\_monitoring: 12.2.1.4.0
- oracle commerce\_guided\_search: 11.3.2
- oracle communications\_billing\_and\_revenue\_management\_elastic\_charging\_engine: 11.3 \| 12.0
- oracle communications\_cloud\_native\_core\_automated\_test\_suite: 1.9.0
- oracle communications\_cloud\_native\_core\_binding\_support\_function: 1.10.0
- oracle communications\_cloud\_native\_core\_policy: 1.14.0
- oracle communications\_unified\_inventory\_management: 7.3.4 \| 7.3.5 \| 7.4.0 \| 7.4.1 \| 7.4.2
- oracle retail\_xstore\_point\_of\_service: 16.0.6 \| 17.0.4 \| 18.0.3 \| 19.0.2 \| 20.0.1
- oracle utilities\_framework: 4.2.0.2.0 \| 4.2.0.3.0 \| 4.3.0.1.0 \| 4.3.0.6.0 \| 4.4.0.0.0 \| 4.4.0.2.0 \| 4.4.0.3.0
- oracle utilities\_testing\_accelerator: 6.0.0.1.1
- oracle webcenter\_portal: 12.2.1.3.0 \| 12.2.1.4.0
- x-stream xstream: \< 1.4.18

## References (first 20 of 21)

- <https://github.com/x-stream/xstream/security/advisories/GHSA-64xx-cq4q-mf44>
- <https://x-stream.github.io/CVE-2021-39139.html>
- <https://lists.debian.org/debian-lts-announce/2021/09/msg00017.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://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://security.netapp.com/advisory/ntap-20210923-0003/>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://ubuntu.com/security/CVE-2021-39139>
- <https://ubuntu.com/security/notices/USN-5946-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-39139>
- <https://security-tracker.debian.org/tracker/CVE-2021-39139>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39139>
- <https://github.com/x-stream/xstream>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB>

---

Data as of 2026-12-05T06:33:44.503Z. 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
