{"id":"CVE-2021-39140","published":"2021-08-23T18:15:13Z","modified":"2026-10-07T20:00:29Z","title":"XStream can cause a Denial of Service","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 allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service 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":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.05918,"percentile":0.9342,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/x-stream/xstream/security/advisories/GHSA-6wf9-jmg9-vxcc","tags":["x_refsource_CONFIRM"]},{"url":"https://x-stream.github.io/CVE-2021-39140.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":23.2,"factors":[{"name":"EPSS percentile","points":18.68},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"x-stream","affectedVersions":[{"vendor":"x-stream","product":"xstream","versions":["< 1.4.18"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-07T20:00:19.004141Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","vulnerableRanges":["<1.4.18"],"patched":["1.4.18"],"from":["GHSA-6wf9-jmg9-vxcc"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-1605","exploited":false,"provenance":"source"}}