cve.bz

CVE-2022-40151 xstream xstream: Out-of-bounds Write

7.5 highExploit referenceEPSS 2.4%Fix available

High (7.5) in xstream xstream. EPSS 2.4% estimated probability of exploitation activity in the next 30 days. Fixed in com.thoughtworks.xstream:xstream 1.4.20.

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

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
2.4% (unchanged from 2.4% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th 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-40151 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40151?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40151?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-40151 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
xstreamthrough 1.4.19

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f8cc-g7j8-xxpmMavencom.thoughtworks.xstream:xstream<1.4.201.4.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libxstream-javano fix listedDEBIAN-CVE-2022-40151
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 6 morelibxstream-javano fix listedUBUNTU-CVE-2022-40151
Red Hatocp_tools:4.13::el8jenkins0:2.387.3.1684911776-3.el8RHSA-2023:3299
Red Hatocp_tools:4.13::el8jenkins-2-plugins0:4.13.1684911916-1.el8RHSA-2023:3299
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 morexstream1.4.20-150200.3.25.1SUSE-SU-2023:1673-1
openSUSELeap 15.4xstream1.4.20-150200.3.25.1SUSE-SU-2023:1673-1
openSUSETumbleweedxstream1.4.20-1.1openSUSE-SU-2024:12796-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
RHINT Camel-Q 2.13.2xstreamFixed 2023-01-26RHSA-2023:0469
RHINT Camel-Springboot 3.20.1xstreamFixed 2023-05-03RHSA-2023:2100
RHPAM 7.13.5 asyncxstreamFixed 2024-03-18RHSA-2024:1353
A-MQ Clients 2xstreamNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Migration Toolkit for RuntimesxstreamWill not fix
Red Hat AMQ Broker 7xstreamNot affected
Red Hat build of Apicurio Registry 2xstreamNot affected
Red Hat build of Debezium 1xstreamNot affected
Red Hat build of QuarkusxstreamFix deferred
Red Hat Data Grid 8xstreamWill not fix
Red Hat Decision Manager 7xstreamOut of support scope
Red Hat Enterprise Linux 7xstreamOut of support scope
Red Hat Fuse 7xstreamWill not fix
Red Hat Integration Camel K 1xstreamAffected
Red Hat Integration Service RegistryxstreamOut of support scope
Red Hat JBoss Data Grid 7xstreamOut of support scope
Red Hat JBoss Enterprise Application Platform 6keycloak-adapter-eap6Out of support scope
Red Hat JBoss Enterprise Application Platform 6keycloak-adapter-sso7_2-eap6Out of support scope
10 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-40151.

References

Check your stackJSON