Description
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 unmarshaling XML or any supported format. e.g. JSON.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxstream-java | 1.4.7-1 | — |
| Debian 13 | libxstream-java | 1.4.7-1 | — |
| Debian 12 | libxstream-java | 1.4.7-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libxstream-java | 1.4.7-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhev Manager 3 | jasperreports-server-pro | 5.5.0-6.el6ev | RHSA-2014:0389 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- OpenMRS Reporting Module 0.9.7 - Remote Code Execution EDB-39193 · webapps · Jan 7, 2016
GitHub 1 repository
-
shoucheng3/x-stream__xstream_CVE-2013-7285_1-4-6 ★ 0 · Aug 19, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- XStream <1.4.6/1.4.10 - Remote Code Execution http/cves/2013/CVE-2013-7285.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | < 1.4.7 | 1.4.7 | GHSA-f554-x222-wgf7 |
| Maven | com.thoughtworks.xstream:xstream | >= 1.4.10, < 1.4.11 | 1.4.11 | GHSA-f554-x222-wgf7 |
Advisories 4
- RHSA-2014:0389 Red Hat Security Advisory: jasperreports-server-pro security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2022-1375 JFrog Artifactory: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- WID-SEC-2024-1689 Dell Data Protection Advisor: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Jul 22, 2024
References
- [oss-security] 20140109 Re: CVE request: remote code execution via deserialization in XStream mailing-list
- [xstream-user] 20130717 Re: Is it possible to unregister the DynamicProxyConverter using the SpringOXM wrapper mailing-list
- [xstream-user] 20130718 Re: Is it possible to unregister the DynamicProxyConverter using the SpringOXM wrapper mailing-list
- [activemq-issues] 20190718 [jira] [Updated] (AMQ-7236) SEV-1 Security vulnerability in spring-expression-4.3.11.RELEASE.jar (spring framework) and xstream-1.4.10.jar mailing-list
- [activemq-issues] 20190826 [jira] [Created] (AMQ-7288) Security Vulnerabilities in ActiveMQ dependent libraries. mailing-list
- http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html
- https://x-stream.github.io/CVE-2013-7285.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- http://web.archive.org/web/20140204133306/http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html