Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.fasterxml.woodstox/woodstox-core
  4. ›
  5. CVE-2022-40152

CVE-2022-40152: Denial of Service due to parser crash

September 17, 2022 (updated May 23, 2025)

Those using FasterXML/woodstox to seralize XML data may be vulnerable to Denial of Service attacks (DOS). 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.

This vulnerability is only relevant for users making use of the DTD parsing functionality.

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434
  • github.com/FasterXML/woodstox
  • github.com/FasterXML/woodstox/issues/157
  • github.com/FasterXML/woodstox/issues/160
  • github.com/FasterXML/woodstox/pull/159
  • github.com/advisories/GHSA-3f7h-mf4q-vrm4
  • github.com/x-stream/xstream/issues/304
  • nvd.nist.gov/vuln/detail/CVE-2022-40152

Code Behaviors & Features

Detect and mitigate CVE-2022-40152 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.4.0, all versions starting from 6.0.0 before 6.4.0

Fixed versions

  • 6.4.0
  • 5.4.0

Solution

Upgrade to versions 5.4.0, 6.4.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-121: Stack-based Buffer Overflow
  • CWE-787: Out-of-bounds Write

Source file

maven/com.fasterxml.woodstox/woodstox-core/CVE-2022-40152.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 30 Aug 2025 00:19:04 +0000.