{"id":"CVE-2022-40151","published":"2022-09-16T10:00:20Z","modified":"2025-04-21T13:49:35Z","title":"Stack Buffer Overflow in xstream","vendor":"xstream","product":"xstream","tier":"tail","description":{"text":"Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.","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.0237,"percentile":0.84232,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47367","tags":["x_refsource_MISC"]},{"url":"https://github.com/x-stream/xstream/issues/304","tags":["x_refsource_MISC"]}],"priority":{"score":21.4,"factors":[{"name":"EPSS percentile","points":16.85},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"xstream","affectedVersions":[{"vendor":"xstream","product":"xstream","versions":[">= unspecified, <= 1.4.19"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-21T13:39:18.356965Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","vulnerableRanges":["<1.4.20"],"patched":["1.4.20"],"from":["GHSA-f8cc-g7j8-xxpm"],"provenance":"source"}],"summary":{"text":"The XStream Java library, used to serialise XML data, contains a stack-based buffer overflow flaw that can be triggered when its parser handles input. An attacker who can get the parser to process crafted content, such as user-supplied input submitted over the network with low privileges and no user interaction, can exhaust the stack and crash the parser, resulting in a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:28Z"},"euvd":{"id":"EUVD-2022-7616","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-39153","published":"2021-08-23","fixed":"1.4.18","kev":false},{"cve":"CVE-2021-39154","published":"2021-08-23","fixed":"1.4.18","kev":false},{"cve":"CVE-2021-43859","published":"2022-02-01","fixed":"1.4.19","kev":false,"link":{"from":"CVE-2021-43859","to":"CVE-2022-40151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.thoughtworks.xstream:xstream","fromFixed":"1.4.19","toFixed":"1.4.20","daysApart":227}]}},{"cve":"CVE-2022-40151","published":"2022-09-16","fixed":"1.4.20","kev":false},{"cve":"CVE-2022-41966","published":"2022-12-27","fixed":"1.4.20","kev":false},{"cve":"CVE-2024-47072","published":"2024-11-07","fixed":"1.4.21","kev":false}],"package":"Maven:com.thoughtworks.xstream:xstream"}}