XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
CVE-2021-39140
This medium-severity CVE scores 6.3 under NVD CVSS v3. EPSS exploit probability: 5.9% (93rd percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.3
- EG Score
- 6.3MEDIUMmedium confidence
- EG Risk
- 46EG Risk 46/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computed (value × EchelonGraph’s weight)Severity63% × 45%The EG Score, 6.3 of 10.Exploitation6% × 40%FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 5.9%
- EPSS %ILE
- 93rd
- KEV
- Not listed
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
Published
August 23, 2021
Last Modified
October 7, 2026
Advisory Details (8)
Auto-updated Oct 7, 2026[SECURITY] [DSA 5004-1] libxstream-java security update
https://www.debian.org/security/2021/dsa-5004[SECURITY] Fedora 35 Update: xstream-1.4.18-2.fc35 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/[SECURITY] Fedora 34 Update: xstream-1.4.18-2.fc34 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/[SECURITY] Fedora 33 Update: xstream-1.4.18-2.fc33 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/[SECURITY] [DLA 2769-1] libxstream-java security update
https://lists.debian.org/debian-lts-announce/2021/09/msg00017.htmlXStream can cause a Denial of Service · Advisory · x-stream/xstream · GitHub
https://github.com/x-stream/xstream/security/advisories/GHSA-6wf9-jmg9-vxccVendor Advisories for CVE-2021-39140(6)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2022:0520Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Data Grid 8.3.0 security update
- RHSA-2022:0297Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Decision Manager 7.12.0 security update
- RHSA-2022:0296Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Process Automation Manager 7.12.0 security update
- RHSA-2021:4918Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Integration Camel-K 1.6 release and security update
- RHSA-2021:4767Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus GA security update
- RHSA-2021:3956Red Hat Product SecurityHigh
Red Hat Security Advisory: xstream security update
Patch Availability(4)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libxstream-java (1.4.11.1-1+deb10u4build0.18.04.1) @ bionic | 2026-10-07 | ubuntu |
| redhat | xstream | 2022-02-14 | redhat |
| redhat | patch | 2021-11-23 | redhat |
| redhat | xstream-0:1.3.1-16.el7_9 | 2021-10-25 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(7 across 7 ecosystems)
Debian:10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libxstream-java | 1.4.11.1-1, 1.4.11.1-1+deb10u1, 1.4.11.1-1+deb10u2 |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libxstream-java | 1.4.15-3 |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libxstream-java | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libxstream-java | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libxstream-java | — |
| — |
Debian:9(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libxstream-java | 1.4.10-1 ... 1.4.9-2+deb9u1 (8 versions) |
| — |
Maven(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| com.thoughtworks.xstream:xstream | 0.1 ... 1.4.9 (42 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 12× in last 7d / 34× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 88 of 179 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 12 repeat rows among the latest 100 are merged into the row they repeat. The 91 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-11 13:43 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-10 19:56 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-09 20:04 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-08 16:39 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-07 23:44 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-07 21:45 UTCEG score recompute▼ 0.20
- 2026-10-07 21:45 UTCVendor advisory
- 2026-10-07 21:23 UTCNVD updateCVSS v3 → 6.3
- 2026-10-07 20:46 UTCEG score recompute
- 2026-10-07 20:46 UTCVendor advisory
- 2026-10-06 15:14 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-05 17:40 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-03 14:22 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-10-01 19:46 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-09-30 15:40 UTCEG score recompute
- 2026-09-30 15:00 UTCEPSS rescoreEPSS 5.9% · 93rd percentile
- 2026-09-29 15:15 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-28 13:47 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-27 13:41 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-26 15:54 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-26 00:21 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-25 19:45 UTCOSV refresh
- 2026-09-24 14:00 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-23 13:44 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-22 14:44 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
Show 63 moreShow fewer
- 2026-09-21 20:28 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-20 20:12 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-19 15:38 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-18 19:23 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-17 19:23 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-16 14:05 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-15 03:06 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-13 16:43 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-12 14:57 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-11 14:49 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-11 09:33 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-08 21:56 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-06 13:45 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-06 10:00 UTCOSV refresh
- 2026-09-05 15:25 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-04 13:57 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-04 05:03 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-02 14:08 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-01 13:50 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-09-01 03:32 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-30 19:14 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-30 01:19 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-28 21:37 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-27 14:22 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-26 14:42 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-25 13:46 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-24 14:13 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-23 00:16 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-21 23:46 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-20 22:52 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-19 20:34 UTCOSV refresh
- 2026-08-19 17:01 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-18 13:45 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-16 14:53 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-16 02:11 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-15 01:27 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-13 21:57 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-12 13:48 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-11 13:38 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-09 13:44 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-08 16:33 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-07 16:24 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-06 13:43 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-05 19:14 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-04 16:17 UTCOSV refresh
- 2026-08-04 15:06 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-04 10:34 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-03 10:33 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-02 02:24 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-08-01 04:13 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-30 16:25 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-30 01:28 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-28 15:33 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-26 14:52 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-25 14:15 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-24 14:15 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-23 14:16 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-23 02:03 UTCEG score recompute
- 2026-07-22 22:50 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-21 15:22 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-20 17:05 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
- 2026-07-19 14:29 UTCEPSS rescoreEPSS 5.9% · 92nd percentile
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:10:libxstream-java
- CVE-2021-39144NVD 8.5EG 9.0 KEVEPSS p100CRITICAL
- CVE-2020-26217NVD 8.8EG 9.0EPSS p100CRITICAL
- CVE-2020-26259NVD 6.8EG 8.9EPSS p100HIGH
- CVE-2020-26258NVD 7.7EG 8.9EPSS p100HIGH
- CVE-2021-39139EG 8.8EPSS p91HIGH
- CVE-2021-39152EG 8.5EPSS p96HIGH
- CVE-2021-39150EG 8.5HIGH
- CVE-2021-39154EG 8.5EPSS p92HIGH
- CVE-2021-39153EG 8.5EPSS p91HIGH
- CVE-2021-39151EG 8.5EPSS p92HIGH
Same vendor
10 shownredhat:RHSA-2021:3956
- CVE-2021-39144NVD 8.5EG 9.0 KEVEPSS p100CRITICAL
- CVE-2021-39139EG 8.8EPSS p91HIGH
- CVE-2021-39152EG 8.5EPSS p96HIGH
- CVE-2021-39150EG 8.5HIGH
- CVE-2021-39154EG 8.5EPSS p92HIGH
- CVE-2021-39153EG 8.5EPSS p91HIGH
- CVE-2021-39151EG 8.5EPSS p92HIGH
- CVE-2021-39149EG 8.5EPSS p92HIGH
- CVE-2021-39148EG 8.5EPSS p92HIGH
- CVE-2021-39147EG 8.5EPSS p92HIGH
Same CWE
10 shownCWE-502
- CVE-2021-39150EG 8.5HIGH
- CVE-2021-39152EG 8.5EPSS p96HIGH
- CVE-2021-39154EG 8.5EPSS p92HIGH
- CVE-2021-39153EG 8.5EPSS p91HIGH
- CVE-2021-39151EG 8.5EPSS p92HIGH
- CVE-2021-39149EG 8.5EPSS p92HIGH
- CVE-2021-39148EG 8.5EPSS p92HIGH
- CVE-2021-39147EG 8.5EPSS p92HIGH
- CVE-2021-39146EG 8.5EPSS p97HIGH
- CVE-2021-39145EG 8.5EPSS p90HIGH
Frequently asked(5)
What is CVE-2021-39140?
When was the CVE record for CVE-2021-39140 published?
Is CVE-2021-39140 actively exploited?
What is the CVSS score of CVE-2021-39140?
How do I remediate CVE-2021-39140?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-39140
Is Your Infrastructure Affected by CVE-2021-39140?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.