CVEfocus › CVE database › CVE-2022-40152

CVE-2022-40152Stack Buffer Overflow in Woodstox

CVSS 6.5 MediumEPSS 1.2% (higher than 69% of CVEs)Published 2022-09-16Updated 2025-04-21Assigner: Google

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.

CWE-121

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
3Under investigation
6Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libxstream-javaFix pendingUBUNTU-CVE-2022-40152
Ubuntu 26.04libxstream-javaUnder investigationUBUNTU-CVE-2022-40152
Ubuntu 25.10libxstream-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-40152
Ubuntu 24.04libxstream-javaUnder investigationUBUNTU-CVE-2022-40152
Ubuntu 22.04libxstream-javaUnder investigationUBUNTU-CVE-2022-40152
Ubuntu 20.04libxstream-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-40152
Ubuntu 18.04libxstream-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-40152
Ubuntu 16.04libxstream-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-40152
Ubuntu 14.04libxstream-javaFix pendingUBUNTU-CVE-2022-40152
Debian 14libwoodstox-javaFix pendingDEBIAN-CVE-2022-40152
Debian 13libwoodstox-javaFix pendingDEBIAN-CVE-2022-40152
Debian 12libwoodstox-javaFix pendingDEBIAN-CVE-2022-40152
Red Hat Enterprise Linux 7woodstox-coreWill not fix
Out of support scope
Red Hat Enterprise Linux 7woodstox-core-javadocWill not fix
Out of support scope
Maven librarycom.fasterxml.woodstox:woodstox-coreFixed5.4.0GHSA-3f7h-mf4q-vrm4

What the vendor says

As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.