CVE-2022-40152: Stack Buffer Overflow in Woodstox
Vulnerability summary
CVE-2022-40152 is a high (CVSS 7.5) Stack-based Buffer Overflow vulnerability in fasterxml woodstox. EPSS estimates a 18.21% chance of exploitation in the next 30 days, higher than 97.2% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 3Timeline
- 16-09-2022PublishedVulnerability first disclosed.
- 21-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
18.21%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
Decrease -1.44 pp
From 19.65% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.chromium.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard4 products
- druidAll versions (No fix recorded)
- rangerAll versions (No fix recorded)
- sonarqube-10< 25.1.0.102122-r0
- spark-3.5-scala-2.13< 3.5.7-r2
Wolfi2 products
- druidAll versions (No fix recorded)
- sonarqube-10< 25.1.0.102122-r0
Com.fasterxml.woodstox1 product
- woodstox-core≥ 6.0.0, < 6.4.0 | < 5.4.0
Debian1 product
- libwoodstox-javaAll versions (No fix recorded)
Fasterxml1 product
- woodstox< 5.4.0 | ≥ 6.0.0, < 6.4.0
Mageia1 product
- woodstox-core< 6.2.3-1.1.mga8
Opensuse1 product
- woodstox-core&distro=openSUSE Tumbleweed< 7.2.1-1.1
Suse1 product
- woodstox&distro=SUSE Manager Server Module 4.3< 4.4.2-150400.3.6.1
Ubuntu1 product
- libxstream-javaAll versions (No fix recorded)
10 vendors · 15 products
References
17 links- bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434REPORTWEBExploitPermissions RequiredThird Party Advisory