Vulnerability · Published Sep 16, 2022 · Assigned by Google
CVE-2022-40152Stack Buffer Overflow in Woodstox
Medium 6.5
In plain English
A medium-severity stack buffer overflow in Woodstox from xstream. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 18.2% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)18.2%top 2.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libwoodstox-java | no fix listed | DEBIAN-CVE-2022-40152 |
| Debian:13 | libwoodstox-java | no fix listed | DEBIAN-CVE-2022-40152 |
| Debian:14 | libwoodstox-java | no fix listed | DEBIAN-CVE-2022-40152 |
| Maven | com.fasterxml.woodstox:woodstox-core | 6.4.0 | GHSA-3f7h-mf4q-vrm4 |
| Maven | com.fasterxml.woodstox:woodstox-core | 5.4.0 | GHSA-3f7h-mf4q-vrm4 |
| Ubuntu:22.04:LTS | libxstream-java | no fix listed | UBUNTU-CVE-2022-40152 |
| Ubuntu:24.04:LTS | libxstream-java | no fix listed | UBUNTU-CVE-2022-40152 |
| Ubuntu:25.10 | libxstream-java | no fix listed | UBUNTU-CVE-2022-40152 |
| Ubuntu:26.04:LTS | libxstream-java | no fix listed | UBUNTU-CVE-2022-40152 |
| Ubuntu:26.10 | libxstream-java | no fix listed | UBUNTU-CVE-2022-40152 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H