CVE-2022-40152Stack Buffer Overflow in Woodstox
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libxstream-java | Fix pending | UBUNTU-CVE-2022-40152 | |
| Ubuntu 26.04 | libxstream-java | Under investigation | UBUNTU-CVE-2022-40152 | |
| Ubuntu 25.10 | libxstream-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40152 | |
| Ubuntu 24.04 | libxstream-java | Under investigation | UBUNTU-CVE-2022-40152 | |
| Ubuntu 22.04 | libxstream-java | Under investigation | UBUNTU-CVE-2022-40152 | |
| Ubuntu 20.04 | libxstream-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40152 | |
| Ubuntu 18.04 | libxstream-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40152 | |
| Ubuntu 16.04 | libxstream-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40152 | |
| Ubuntu 14.04 | libxstream-java | Fix pending | UBUNTU-CVE-2022-40152 | |
| Debian 14 | libwoodstox-java | Fix pending | DEBIAN-CVE-2022-40152 | |
| Debian 13 | libwoodstox-java | Fix pending | DEBIAN-CVE-2022-40152 | |
| Debian 12 | libwoodstox-java | Fix pending | DEBIAN-CVE-2022-40152 | |
| Red Hat Enterprise Linux 7 | woodstox-core | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | woodstox-core-javadoc | Will not fix Out of support scope | ||
| Maven library | com.fasterxml.woodstox:woodstox-core | Fixed | 5.4.0 | GHSA-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.
- xstream Woodstox: affected: unspecified to before 6.4.0, unspecified to before 5.4.0; fixed in
6.4.0,5.4.0
References
- https://github.com/x-stream/xstream/issues/304
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434
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.