NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2022-40152 — woodstox-core

MEDIUMFix: FasterXML/woodstox#159

CVE-2022-40152 is a medium-severity (CVSS 6.5) CWE-121 vulnerability in com.fasterxml.woodstox:woodstox-core. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for com.fasterxml.woodstox:woodstox-core — see the affected versions and patch details below.

Stack Buffer Overflow in Woodstox

Also known asGHSA-3f7h-mf4q-vrm4
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
1 known
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-40152.

EPSS Exploitation Probability

via FIRST.org ↗
18.2%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs97th percentile — riskier than 97% of all scored CVEsHighest risk
0.00%8.44%16.9%25.3%0.8%18.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
☕com.fasterxml.woodstox:woodstox-core☕com.fasterxml.woodstox:woodstox-core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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 Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
☕Mavencom.fasterxml.woodstox:woodstox-core≥ 6.0.0&&< 6.4.06.4.0com.fasterxml.woodstox:woodstox-core:6.4.0
☕Mavencom.fasterxml.woodstox:woodstox-coreall versions5.4.0com.fasterxml.woodstox:woodstox-core:5.4.0

Affected Products

2 products · 3 configurations
Application
woodstoxfasterxml
≥ 6.0.0 && < 6.4.0
range
Application
xstreamxstream
< 1.4.20
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.fasterxml.woodstox:woodstox-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update com.fasterxml.woodstox:woodstox-core to 6.4.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-40152 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
OCP-Tools-4.13-RHEL-8jenkins-0:2.387.3.1684911776-3.el8RHSA-2023:3299
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-activemq-artemis-0:1.5.5.016-1.redhat_00001.1.ep7.el7RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-activemq-artemis-0:2.9.0-10.redhat_00021.1.el7eapRHSA-2025:4437
Red Hat JBoss Enterprise Application Platform 7.4.9com.fasterxml.woodstox/woodstox-core:6.4.0.redhat-00001RHSA-2023:0556
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-woodstox-core-0:6.4.0-1.redhat_00001.1.el8eapRHSA-2023:0553
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-woodstox-core-0:6.4.0-1.redhat_00001.1.el9eapRHSA-2023:0554
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-woodstox-core-0:6.4.0-1.redhat_00001.1.el7eapRHSA-2023:0552
RHINT Camel-Q 2.13.2woodstox-coreRHSA-2023:0469

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2022-40152 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2022-40152: woodstox-core DoS — Fixed in 6.4.0