cve.bz

CVE-2022-40152 Out-of-bounds Write

7.5 highExploit referenceEPSS 18%Fix available

High (7.5). EPSS 18% estimated probability of exploitation activity in the next 30 days. Fixed in com.fasterxml.woodstox:woodstox-core 5.4.0, 6.4.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
18% (unchanged from 18% a week ago; 18% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-40152 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40152?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40152?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-40152 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
xstream Woodstoxbefore 6.4.0
xstream Woodstoxbefore 5.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3f7h-mf4q-vrm4Mavencom.fasterxml.woodstox:woodstox-core>=6.0.0 <6.4.06.4.0
GHSA-3f7h-mf4q-vrm4Mavencom.fasterxml.woodstox:woodstox-core<5.4.05.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libwoodstox-javano fix listedDEBIAN-CVE-2022-40152
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 6 morelibxstream-javano fix listedUBUNTU-CVE-2022-40152
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-apache-sshd0:2.9.2-1.redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-elytron-web, eap7-undertow-server0:1.9.3-1.Final_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.16-1.Final_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hibernate-search, eap7-hibernate-search-orm, eap7-hibernate-search-engine and 3 more0:5.10.13-3.Final_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.10-1.Final_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jackson-core, eap7-jackson-databind, eap7-jackson-jaxrs-base and 8 more0:2.12.7-1.redhat_00003.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-javaee-security-soteria, eap7-javaee-security-soteria-enterprise0:1.0.1-3.redhat_00003.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-ejb-client0:4.0.49-1.Final_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-jsf-api_2.3_spec0:3.0.0-6.SP07_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-jsp-api_2.3_spec0:2.0.0-3.Final_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-remoting0:5.0.27-1.Final_redhat_00001.1.el7eapRHSA-2023:0552
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-24.Final_redhat_00023.1.el7eapRHSA-2023:0552
56 more for Red Hat in the JSON and on Red Hat's page.
SUSEManager Proxy Module 4.2spacewalk-proxy4.2.13-150300.3.24.2SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2spacewalk-proxy-installer4.2.11-150300.3.14.2SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2mgr-osad4.2.9-150300.2.12.2SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2rhnlib4.2.7-150300.4.12.2SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2spacecmd4.2.21-150300.4.33.2SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2spacewalk-backend4.2.26-150300.4.35.6SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2spacewalk-certs-tools4.2.19-150300.3.27.4SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2spacewalk-client-tools4.2.22-150300.4.30.2SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2spacewalk-web4.2.32-150300.3.36.4SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2susemanager-build-keys15.3.6-150300.3.6.2SUSE-SU-2023:0592-1
SUSEManager Proxy Module 4.2, Manager Server Module 4.2uyuni-common-libs4.2.9-150300.3.14.1SUSE-SU-2023:0592-1
SUSEManager Server Module 4.2cobbler3.1.2-150300.5.19.1SUSE-SU-2023:0592-1
20 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedwoodstox-core7.2.1-1.1openSUSE-SU-2026:11226-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
OCP-Tools-4.13-RHEL-8jenkins-0:2.387.3.1684911776-3.el8Fixed 2023-05-24RHSA-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.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-artemis-native-1:1.5.5.016-1.redhat_00001.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-jboss-xnio-base-0:3.5.11-1.Final_redhat_00001.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-jsoup-0:1.14.2-1.redhat_00002.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-undertow-0:1.4.18-14.SP13_redhat_00001.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-wildfly-0:7.1.10-2.GA_redhat_00002.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-woodstox-core-0:5.0.3-2.redhat_00002.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-xml-security-0:2.0.10-2.redhat_00002.1.ep7.el7Fixed 2025-04-28RHSA-2025:4226
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-activemq-artemis-0:2.9.0-10.redhat_00021.1.el7eapFixed 2025-05-05RHSA-2025:4437
A-MQ Clients 2woodstox-coreNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Migration Toolkit for RuntimesxstreamWill not fix
Red Hat AMQ Broker 7woodstox-coreNot affected
Red Hat build of Debezium 1woodstox-coreNot affected
Red Hat build of Quarkuswoodstox-coreAffected
Red Hat Data Grid 8woodstox-coreNot affected
Red Hat Data Grid 8xstreamWill not fix
Red Hat Enterprise Linux 7woodstox-coreOut of support scope
Red Hat Fuse 7woodstox-coreWill not fix
27 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-40152.

References

Check your stackJSON