Denial of Service due to parser crash
Those using FasterXML/woodstox 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.
This vulnerability is only relevant for users making use of the DTD parsing functionality.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.fasterxml.woodstox:woodstox-core | >= 6.0.0, < 6.4.0, < 5.4.0 | 6.4.0, 5.4.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-40152
- https://github.com/FasterXML/woodstox/issues/157
- https://github.com/FasterXML/woodstox/issues/160
- https://github.com/x-stream/xstream/issues/304
- https://github.com/FasterXML/woodstox/pull/159
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434
- https://github.com/FasterXML/woodstox
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-121, CWE-787- Platform
- Java / Kotlin (Maven)
- Package
com.fasterxml.woodstox:woodstox-core- Disclosed
- 17.09.2022
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3f7h-mf4q-vrm4 - CC BY 4.0
Vulnerability history: com.fasterxml.woodstox:woodstox-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.