CVE-2022-40152
HIGH 7.5CVSS 3.1Denial of Service due to parser crash
Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. 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.
- Published
- 16 Sep 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Analyzed
- Weakness
- CWE-121CWE-787
- Also known as
- GHSA-3f7h-mf4q-vrm4
- Sources
- NVDJSONOSV GHSA-3f7h-mf4q-vrm4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xstream | xstreamcpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:* |
< 1.4.20 | 1.4.20 |
| NVD | fasterxml | woodstoxcpe:2.3:a:fasterxml:woodstox:*:*:*:*:*:*:*:* |
< 5.4.0 | 5.4.0 |
| NVD | fasterxml | woodstoxcpe:2.3:a:fasterxml:woodstox:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.4.0 | 6.4.0 |
| OSV | Maven | com.fasterxml.woodstox:woodstox-core | >= 6.0.0, < 6.4.0 | 6.4.0 |
| OSV | Maven | com.fasterxml.woodstox:woodstox-core | < 5.4.0 | 5.4.0 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434 · Exploit, Permissions Required, Third Party Advisory, WEB
- https://github.com/x-stream/xstream/issues/304 · Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-40152 · ADVISORY
- https://github.com/FasterXML/woodstox/issues/157 · WEB
- https://github.com/FasterXML/woodstox/issues/160 · WEB
- https://github.com/FasterXML/woodstox/pull/159 · WEB
- https://github.com/FasterXML/woodstox · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Sep 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2022)