{"id":"CVE-2021-39149","published":"2021-08-23T18:05:44Z","modified":"2026-10-07T19:58:22Z","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-3ccq-5vw3-2p6x","tags":["x_refsource_CONFIRM"]},{"url":"https://x-stream.github.io/CVE-2021-39149.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-07T19:58:12.240154Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","vulnerableRanges":["<1.4.18"],"patched":["1.4.18"],"from":["GHSA-3ccq-5vw3-2p6x"],"provenance":"source"}],"summary":{"text":"The flaw is in XStream, the Java library for serializing objects to XML and back, where its deserialization handling lets untrusted input be processed. Users who configured XStream's security framework with a whitelist limited to the minimal required types are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:23Z"},"euvd":{"id":"EUVD-2021-1541","exploited":false,"provenance":"source"}}