p PatchFirst

CVE-2022-40152

CVE-2022-40152 · Stack Buffer Overflow in Woodstox

CVSS 6.5 · Medium · EPSS 18.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libwoodstox-java"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2026:11226-1 · openSUSE Tumbleweed ·
  • RHSA-2025:4437 · Red Hat jboss enterprise application platform eus 7.3 el7 ·
  • RHSA-2025:4226 · Red Hat jboss enterprise application platform eus 7.1 el7 ·
  • RHSA-2023:3299 · Red Hat ocp tools 4.13 el8 ·
  • RHSA-2023:0553 · Red Hat jboss enterprise application platform 7.4 el8 ·
  • RHSA-2023:0552 · Red Hat jboss enterprise application platform 7.4 el7 ·
  • RHSA-2023:0554 · Red Hat jboss enterprise application platform 7.4 el9 ·
  • SUSE-SU-2023:0679-1 · SUSE Manager Server Module 4.3 ·
  • SUSE-SU-2023:0592-1 · SUSE Manager Proxy Module 4.2, SUSE Manager Server Module 4.2 ·

Stack: system

Affected products and versions

  • woodstox

    Versions
    • ≥ unspecified, < 6.4.0: Affected (custom)
    • ≥ unspecified, < 5.4.0: Affected (custom)

    Update to 5.4.0

  • libwoodstox-java Debian 12

    Versions
    • 1:6.2.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libwoodstox-java Debian 13

    Versions
    • 1:6.2.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libwoodstox-java Debian 14

    Versions
    • 1:6.2.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu Pro 14.04 LTS

    Versions
    • 1.4.4-1
    • 1.4.7-1
    • 1.4.7-1ubuntu0.1
    • 1.4.7-1ubuntu0.1+esm1
    • 1.4.7-1ubuntu0.1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu Pro 16.04 LTS

    Versions
    • 1.4.8-1
    • 1.4.8-1ubuntu0.1
    • 1.4.8-1ubuntu0.1+esm1
    • 1.4.8-1ubuntu0.1+esm2
    • 1.4.8-1ubuntu0.1+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu 18.04 LTS

    Versions
    • 1.4.10-1
    • 1.4.11.1-1~18.04
    • 1.4.11.1-1~18.04.1
    • 1.4.11.1-1~18.04.2
    • 1.4.11.1-1+deb10u4build0.18.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu 20.04 LTS

    Versions
    • 1.4.11.1-1
    • 1.4.11.1-1ubuntu0.1
    • 1.4.11.1-1ubuntu0.2
    • 1.4.11.1-1ubuntu0.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu 22.04 LTS

    Versions
    • 1.4.15-4
    • 1.4.18-2
    • 1.4.18-2ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu 24.04 LTS

    Versions
    • 1.4.20-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu 25.10

    Versions
    • 1.4.21-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu 26.10

    Versions
    • 1.4.21-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libxstream-java Ubuntu 26.04 LTS

    Versions
    • 1.4.21-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →