CVE Tools

CVE-2021-39140

XStream can cause a Denial of Service

Published: Aug 23, 2021Updated: May 23, 2025 Sources: CVE List NVD GHSACWE-502
6.5CVSSMEDIUM

Description

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.

CVSS Vector Breakdown

AV:NAC:LPR:LUI:NS:UC:NI:NA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:LPrivileges Required
Low
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:NIntegrity
None
A:HAvailability
High

Weaknesses

Affected Products

x-streamoss-projectOSS Librariesaka xstream
xstreamoss-projectOSS Librariesaka xstream/woodstox, woodstox, woodstox xstream
debianoss-projectGBOperating Systemsaka debian gnu/linux
fedoraprojectoss-projectUSOperating Systemsaka fedora project
and 12 more affected products View all →

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

MITRE ATT&CK

4 techniques
Execution
Impact
Initial Access
View detailed technique mapping

References

and 14 more references View all →

Timeline

Published
Aug 23, 2021
Last Updated
May 23, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2021-39140 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows