{"id":"CVE-2021-39151","published":"2021-08-23T17:55:09Z","modified":"2026-10-07T20:01:37Z","title":"XStream is vulnerable to an Arbitrary Code Execution attack","vendor":"x-stream","product":"xstream","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04735,"percentile":0.92068,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/x-stream/xstream/security/advisories/GHSA-hph2-m3g5-xxv4","tags":["x_refsource_CONFIRM"]},{"url":"https://x-stream.github.io/CVE-2021-39151.html","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2021/dsa-5004","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210923-0003/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":18.41},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"x-stream","affectedVersions":[{"vendor":"x-stream","product":"xstream","versions":["< 1.4.18"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-07T20:01:24.822692Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","vulnerableRanges":["<1.4.18"],"patched":["1.4.18"],"from":["GHSA-hph2-m3g5-xxv4"],"provenance":"source"}],"summary":{"text":"The XStream library (product xstream, vendor x-stream) contains a flaw in its XML deserialization handling, which is a component that turns serialized XML back into objects.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:23Z"},"euvd":{"id":"EUVD-2021-1751","exploited":false,"provenance":"source"}}