CVE Tools

CVE-2021-39154

XStream is vulnerable to an Arbitrary Code Execution attack

Published: Aug 23, 2021Updated: May 23, 2025 Sources: CVE List NVD GHSACWE-434

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 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

CVSS Vector Breakdown

AV:NAC:HPR:LUI:NS:CC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:LPrivileges Required
Low
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

x-streamoss-projectOSS Librariesaka xstream
xstreamoss-projectOSS Librariesaka xstream/woodstox, woodstox, woodstox xstream
fedoraprojectoss-projectUSOperating Systemsaka fedora project
debianoss-projectGBOperating Systemsaka debian gnu/linux
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

Official Patch Available

MITRE ATT&CK

5 techniques
Command and Control
Execution
Initial Access
Persistence
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-39154 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