CVE-2021-21351

libxstream-java: XStream is a Java library to serialize objects to XML and back again

CVE-2021-21351 is fixed in libxstream-java on 1 platform, first by libxstream-java 1.4.11.1-1~18.04.2, released March 22, 2021. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.8214
99th percentile

XStream is a Java library to serialize objects to XML and back again. InXStream before version 1.4.16, there is a vulnerability may allow a remoteattacker to load and execute arbitrary code from a remote host only bymanipulating the processed input stream. No user is affected, who followedthe recommendation to setup XStream's security framework with a whitelistlimited to the minimal required types. If you rely on XStream's defaultblacklist of the Security Framework, you will have to use at least version1.4.16.

Where it's fixed

ProductFixed inFixReleased
Linux
libxstream-java · Ubuntu 18.04.6 LTS (bionic) 1.4.11.1-1~18.04.2 libxstream-java 1.4.11.1-1~18.04.2 Mar 22, 2021
libxstream-java · Ubuntu 20.04 LTS (focal) 1.4.11.1-1ubuntu0.2 libxstream-java 1.4.11.1-1ubuntu0.2 Mar 22, 2021
libxstream-java · Ubuntu 24.10 (oracular) 1.4.15-2 libxstream-java 1.4.15-2 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.