Critical Remote Code Execution Vulnerability in libxstream-java

libxstream-java Updated 04 Oct 2025

Summary

16/11/2020
N/A
Yes i
High
8.8

UBUNTU-CVE-2020-26217: XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to run arbitrary shell commands only by manipulating the processed input stream. Affects libxstream-java versions < 1.4.7-1ubuntu0.1+esm2. Fixed in 1.4.7-1ubuntu0.1+esm2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libxstream-java is a Java library that facilitates the serialization and deserialization of Java objects to and from XML. It is widely used in applications that require data interchange in a human-readable format. The library's flexibility and ease of use make it a popular choice among developers. However, it has been found to have a critical vulnerability that exposes applications to potential remote code execution attacks.

Vulnerability Detail

XStream before version 1.4.14 is vulnerable to Remote Code Execution. This vulnerability allows a remote attacker to execute arbitrary shell commands by manipulating the input stream processed by the library. The issue primarily affects users who rely on blocklists for security, as those using XStream's Security Framework allowlist are not impacted. The vulnerability is classified with a CVSS score of 8.8, indicating a high severity level, and could lead to significant security breaches if exploited.

How To Fix

Minimum fixed version

1.4.7-1ubuntu0.1+esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxstream-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately possible, users can implement code workarounds as suggested in the advisory linked in the vulnerability details. These workarounds typically involve modifying the way input streams are processed to mitigate the risk of remote code execution.

Conclusion

The libxstream-java library has a critical vulnerability that allows for remote code execution. It is crucial for users to update to the patched versions of the library to safeguard their applications. Workarounds are available for those unable to upgrade immediately, but the best course of action is to apply the updates as soon as possible.

See every vulnerability recorded for libxstream-java →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

Versions of libxstream-java prior to 1.4.14 are affected by this vulnerability.

If your application is vulnerable, a remote attacker could execute arbitrary shell commands, potentially compromising your system.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

Yes, implementing code workarounds as suggested in the advisory can help mitigate the risk until an upgrade is possible.

Related vulnerabilities

Recent vulnerabilities recorded for libxstream-java.

How To Fix

Minimum fixed version

1.4.7-1ubuntu0.1+esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxstream-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback