Critical Remote Command Execution Vulnerability in libxstream-java

libxstream-java Updated 02 Oct 2025

Summary

15/05/2019
N/A
Yes i
Critical
9.8

CVE-2013-7285: Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream when unmarsh... Affects libxstream-java versions < 1.4.7-1. Fixed in 1.4.7-1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libxstream-java is a Java library that facilitates the serialization and deserialization of objects to and from XML and other formats like JSON. It is widely used in various applications for data interchange. However, certain versions of this library are vulnerable to a critical security flaw that can be exploited if the security framework is not properly initialized.

Vulnerability Detail

The vulnerability, identified as CVE-2013-7285, affects Xstream API versions up to 1.4.6 and version 1.4.10. If the security framework has not been initialized, a remote attacker can manipulate the processed input stream during the unmarshaling process, allowing them to execute arbitrary shell commands. This poses a significant risk as it can lead to unauthorized access and control over the affected system. The CVSS score for this vulnerability is 9.8, indicating its critical severity.

How To Fix

Minimum fixed version

1.4.7-1

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, ensure that the security framework is initialized before processing any input streams. This may involve modifying your application code to include security initialization routines prior to unmarshaling data.

Conclusion

The CVE-2013-7285 vulnerability in libxstream-java poses a serious risk of remote command execution if not addressed. It is crucial for users of affected versions to upgrade to at least version 1.4.7-1 to mitigate this risk. Additionally, initializing the security framework can serve as a temporary workaround.

See every vulnerability recorded for libxstream-java →

Share this vulnerability

FAQ

CVE-2013-7285 is a vulnerability in the libxstream-java library that allows remote attackers to execute arbitrary shell commands by manipulating input streams.

The vulnerability affects libxstream-java versions up to 1.4.6 and version 1.4.10.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate upgrade is not possible, ensure that the security framework is initialized before processing any input streams to mitigate the risk.

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for libxstream-java.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.4.7-1

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