CVE-2022-40152
A public proof of concept exists; no exploitation attested.
- Published2022-09-16
- Fixed in6.4.0 · 5.4.0
- WeaknessCWE-121 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-09-1610:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.x | ≥ 6.0.0, < 6.4.0 | 6.4.0 | NVD · OSV |
| 5.4 | < 5.4.0 | 5.4.0 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.4 | < 1.4.20 | 1.4.20 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As Google, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- xstream WoodstoxAffected
- < 6.4.0fixed in 6.4.0custom
- < 5.4.0fixed in 5.4.0custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-11-25
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-druidMinimOSall versions · fixed in 38.0.0-r0and 1 other package
- cobblerSUSE:Manager Server Module 4.2all versions · fixed in 3.1.2-150300.5.19.1
- com.fasterxml.woodstox:woodstox-coreTuxCare:Mavenfrom 5.0.3 · fixed in 5.0.3.tuxcare
- com.fasterxml.woodstox:woodstox-coreTuxCare:Mavenfrom 5.3.0 · fixed in 5.3.0-tuxcare.1
- com.fasterxml.woodstox:woodstox-coreTuxCare:Mavenfrom 6.0.1 · fixed in 6.0.1-tuxcare.1
- com.fasterxml.woodstox:woodstox-coreRed Hat Lightwell:Mavenall versions · fixed in 5.0.3.rhlw-00001
- com.fasterxml.woodstox:woodstox-coreRed Hat Lightwell:Mavenfrom 6.0.3 · fixed in 6.0.3.rhlw-00001
- com.fasterxml.woodstox:woodstox-coreRed Hat Lightwell:Mavenfrom 6.2.2 · fixed in 6.2.2.rhlw-00004
135 more package ranges on OSV.dev
Vendor advisories
woodstox-core: woodstox to serialise XML data was vulnerable to Denial of Service attacks
xstream.src as a component of Migration Toolkit for Runtimes · woodstox-core as a component of Red Hat build of Quarkus · xstream as a component of Red Hat Data Grid 8 · +15 more
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.13 security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.10 on RHEL 7 security update
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.4 security update
Red Hat Security Advisory: Service Registry (container images) release and security update [2.4.3 GA]
Red Hat Security Advisory: Red Hat Integration Camel for Spring Boot 3.18.3 Patch 2 release
7 more advisories
Fix
- Update Fasterxml woodstox to 6.4.0 · 5.4.0
- Vendor fix Red Hat Product Security RHSA-2025:4437 · 54 productsBefore applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://access…
- Vendor fix Red Hat Product Security RHSA-2023:4983 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:3299 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:0556 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:0554 · 2 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-21
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-21
- CNACVSS 3.16.5known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-121known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score18.2 %read 2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2022-09-20
Identifiers
- CGA-2x8r-rv3m-wc9fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3h62-pp7c-jgh6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3r3c-73q3-4j76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-88q5-qq56-953xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9886-6p9m-p2cwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g6rx-4454-vf42same flawChainguard · CC-BY-NC-ND-4.0
- CGA-q437-pcpg-qcwxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rgvq-wp4w-gf43same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vhgw-3467-343fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x9f4-fmxv-3355same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2022-6677same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3f7h-mf4q-vrm4same flawGitHub Advisory Database · CC-BY-4.0
- MINI-94rm-82q5-6q76same flawMinimOS · LicenseRef-unstated
- MINI-h28c-hh3p-fqprsame flawMinimOS · LicenseRef-unstated
- MINI-jcf2-rr76-7f2csame flawMinimOS · LicenseRef-unstated
- MGASA-2023-0104advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-2378advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:11226-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:0552advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:0553advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:0554advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:3299advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:4226advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:4437advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2023:0592-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0679-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-09-16
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-3f7h-mf4q-vrm4
Frequently asked questions
What is CVE-2022-40152?
Is CVE-2022-40152 actively exploited?
What is the CVSS score for CVE-2022-40152?
Running woodstox-core? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3f7h-mf4q-vrm4
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0