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

EcosystemPackageFixed inAdvisory
Debian:12libwoodstox-javano fix listedDEBIAN-CVE-2022-40152
Debian:13libwoodstox-javano fix listedDEBIAN-CVE-2022-40152
Debian:14libwoodstox-javano fix listedDEBIAN-CVE-2022-40152
Mavencom.fasterxml.woodstox:woodstox-core6.4.0GHSA-3f7h-mf4q-vrm4
Mavencom.fasterxml.woodstox:woodstox-core5.4.0GHSA-3f7h-mf4q-vrm4
Ubuntu:22.04:LTSlibxstream-javano fix listedUBUNTU-CVE-2022-40152
Ubuntu:24.04:LTSlibxstream-javano fix listedUBUNTU-CVE-2022-40152
Ubuntu:25.10libxstream-javano fix listedUBUNTU-CVE-2022-40152
Ubuntu:26.04:LTSlibxstream-javano fix listedUBUNTU-CVE-2022-40152
Ubuntu:26.10libxstream-javano fix listedUBUNTU-CVE-2022-40152

Affected products (as reported)

VendorProductVersions
xstream Woodstox unspecified – before 6.4.0unspecified – before 5.4.0

Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References