Stack Buffer Overflow in Woodstox
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 12 fixed, 15 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-121 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XStream | Woodstox | before 6.4.0; before 5.4.0 | 6.4.0, 5.4.0 | Patch available | CNA |
| — | com.fasterxml.woodstox:woodstox-core (Maven) | 6.0.0 to before 6.4.0 | 6.4.0 | Patch available | GHSA-3f7h-mf4q-vrm4 |
| — | com.fasterxml.woodstox:woodstox-core (Maven) | before 5.4.0 | 5.4.0 | Patch available | GHSA-3f7h-mf4q-vrm4 |
- Woodstox VendorXStream Affected before 6.4.0; before 5.4.0 Fixed in 6.4.0, 5.4.0 Patch available CNA
- com.fasterxml.woodstox:woodstox-core (Maven) Vendor— Affected 6.0.0 to before 6.4.0 Fixed in 6.4.0 Patch available GHSA-3f7h-mf4q-vrm4
- com.fasterxml.woodstox:woodstox-core (Maven) Vendor— Affected before 5.4.0 Fixed in 5.4.0 Patch available GHSA-3f7h-mf4q-vrm4
Remediation
- Fix · CNA Woodstox (xstream) Fixed in 6.4.0, 5.4.0
- Fix · GHSA-3f7h-mf4q-vrm4 com.fasterxml.woodstox:woodstox-core (Maven) Fixed in 6.4.0 Advisory →
- Fix · GHSA-3f7h-mf4q-vrm4 com.fasterxml.woodstox:woodstox-core (Maven) Fixed in 5.4.0 Advisory →
Red Hat 12 advisories
- RHSA-2025:4437 Released 2025-05-05 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.3.13 security update
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-activemq-artemis-2.9.0-10.redhat_00021.1.el7eap, eap7-activemq-artemis-cli-2.9.0-10.redhat_00021.1.el7eap, eap7-activemq-artemis-commons-2.9.0-10.redhat_00021.1.el7eap +44
- RHSA-2025:4226 Released 2025-04-28 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.1.10 on RHEL 7 security update
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server eap7-activemq-artemis-1.5.5.016-1.redhat_00001.1.ep7.el7, eap7-activemq-artemis-cli-1.5.5.016-1.redhat_00001.1.ep7.el7, eap7-activemq-artemis-commons-1.5.5.016-1.redhat_00001.1.ep7.el7 +22
- RHSA-2023:4983 Released 2023-09-05 · Red Hat rating ImportantRed Hat Process Automation Manager 7.13.4 security update
- RHPAM 7.13.4 async
Show 9 more Red Hat advisories
- RHSA-2023:3815 Released 2023-06-27 · Red Hat rating ImportantService Registry (container images) release and security update [2.4.3 GA]
- RHINT Service Registry 2.4.3 GA
- RHSA-2023:3641 Released 2023-06-15 · Red Hat rating ImportantRed Hat Integration Camel for Spring Boot 3.18.3 Patch 2 release
- RHINT Camel-Springboot 3.18.3.P2
- RHSA-2023:3299 Released 2023-05-24 · Red Hat rating Importantjenkins and jenkins-2-plugins security update
- OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins-4.13.1684911916-1.el8, jenkins-2.387.3.1684911776-3.el8
- RHSA-2023:2100 Released 2023-05-03 · Red Hat rating ImportantRed Hat Integration Camel for Spring Boot 3.20.1 security update
- RHINT Camel-Springboot 3.20.1
- RHSA-2023:0556 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss Enterprise Application Platform 7.4.9 com.fasterxml.jackson.core.jackson-databind-2.12.7.redhat-00003.jar, com.fasterxml.woodstox.woodstox-core-6.4.0.redhat-00001.jar, org.apache.cxf.cxf-core-3.4.10.redhat-00001.jar +4
- RHSA-2023:0554 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 9 eap7-apache-sshd-2.9.2-1.redhat_00001.1.el9eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el9eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el9eap +44
- RHSA-2023:0552 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-apache-sshd-2.9.2-1.redhat_00001.1.el7eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el7eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el7eap +46
- RHSA-2023:0553 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 8 eap7-apache-sshd-2.9.2-1.redhat_00001.1.el8eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el8eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el8eap +44
- RHSA-2023:0469 Released 2023-01-26 · Red Hat rating ModerateRed Hat Integration Camel Extensions For Quarkus 2.13.2
- RHINT Camel-Q 2.13.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Runtimes | Affected | No fix planned: Will not fix |
| Red Hat Data Grid 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat Integration Camel K 1 | Affected | No fix yet |
| Red Hat Integration Camel Quarkus 1 | Affected | No fix yet |
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Data Virtualization 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat Satellite 6 | Affected | No fix planned: Will not fix |
| Red Hat build of Quarkus | Affected | No fix yet |
| OpenShift Developer Tools and Services for OCP 4.13 | Fixed | RHSA-2023:3299 |
| RHINT Camel-Q 2.13.2 | Fixed | RHSA-2023:0469 |
| RHINT Camel-Springboot 3.18.3.P2 | Fixed | RHSA-2023:3641 |
| RHINT Camel-Springboot 3.20.1 | Fixed | RHSA-2023:2100 |
| RHINT Service Registry 2.4.3 GA | Fixed | RHSA-2023:3815 |
| RHPAM 7.13.4 async | Fixed | RHSA-2023:4983 |
| Red Hat JBoss EAP 7.4 for RHEL 7 Server | Fixed | RHSA-2023:0552 |
| Red Hat JBoss EAP 7.4 for RHEL 8 | Fixed | RHSA-2023:0553 |
| Red Hat JBoss EAP 7.4 for RHEL 9 | Fixed | RHSA-2023:0554 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server | Fixed | RHSA-2025:4226 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server | Fixed | RHSA-2025:4437 |
| Red Hat JBoss Enterprise Application Platform 7.4.9 | Fixed | RHSA-2023:0556 |
Not affected: 13 products
- A-MQ Clients 2
- Logging Subsystem for Red Hat OpenShift
- OpenShift Developer Tools and Services for OCP 4.13
- Red Hat AMQ Broker 7
- Red Hat Data Grid 8
- Red Hat JBoss EAP 7.4 for RHEL 7 Server
- Red Hat JBoss EAP 7.4 for RHEL 8
- Red Hat JBoss EAP 7.4 for RHEL 9
- Red Hat JBoss Enterprise Application Platform 7.4.9
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift Application Runtimes
- Red Hat Single Sign-On 7
- Red Hat build of Debezium 1
Timeline
- 2026-10-02 Threatist record created from CVE-2022-40152
- 2026-10-03 Alias added: GHSA-3f7h-mf4q-vrm4
- 2026-11-05 Affected versions changed · Red Hat
References
Advisory 2
More Xstream vulnerabilities
- TI-2021-16530 XStream is vulnerable to a Remote Command Execution attack KEVCVSS 3.1HIGH 8.5
- TI-2013-05951 Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not… CVSS 3.1CRITICAL 9.8
- TI-2021-04451 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.1
- TI-2021-04446 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.8
- TI-2021-04444 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.8
- TI-2020-16038 Remote Code Execution in XStream CVSS 3.1HIGH 8.8
Sources
- CVE-2022-40152 · CVE Program
- CVE-2022-40152 · NVD
- FIRST EPSS
- GHSA-3f7h-mf4q-vrm4 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-40152 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences