Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-41966

published high CVSS 3.1 · 8.2

XStream Denial of Service via stack overflow

Published
27 Dec 2022, 23:07:54 UTC
Updated
11 Apr 2025, 14:51:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
x-stream — xstream< 1.4.20 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2023-2007 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP2 xstreamnoarch Advisory build 1.4.20-150200.3.25.1 SUSE-SU-2023:1673-1
Debian bullseye libxstream-java Advisory build 1.4.15-3+deb11u2 DSA-5315-1
Ubuntu bionic libxstream-java Advisory build 1.4.11.1-1+deb10u4build0.18.04.1 USN-5946-1
Amazon Linux AL2 xstreamnoarch Listed in advisory Not stated ALAS2-2023-2007
SUSE / openSUSE SLE-15-SP3 xstreamnoarch Advisory build 1.4.20-150200.3.25.1 SUSE-SU-2023:1673-1
SUSE / openSUSE SLE-15-SP4 xstreamnoarch Advisory build 1.4.20-150200.3.25.1 SUSE-SU-2023:1673-1
Show 26 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-15.4 xstreamnoarch Advisory build 1.4.20-150200.3.25.1 SUSE-SU-2023:1673-1
SUSE / openSUSE openSUSE-Tumbleweed xstreamaarch64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstreamppc64le Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstreams390x Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstreamx86_64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
Debian buster libxstream-java Advisory build 1.4.11.1-1+deb10u4 DLA-3267-1
SUSE / openSUSE openSUSE-Leap-15.4 xstream-benchmarknoarch Advisory build 1.4.20-150200.3.25.1 SUSE-SU-2023:1673-1
SUSE / openSUSE openSUSE-Leap-15.4 xstream-javadocnoarch Advisory build 1.4.20-150200.3.25.1 SUSE-SU-2023:1673-1
SUSE / openSUSE openSUSE-Leap-15.4 xstream-parentnoarch Advisory build 1.4.20-150200.3.25.1 SUSE-SU-2023:1673-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-benchmarkaarch64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-benchmarkppc64le Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-benchmarks390x Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-benchmarkx86_64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-javadocaarch64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-javadocppc64le Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-javadocs390x Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-javadocx86_64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-parentaarch64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-parentppc64le Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-parents390x Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
SUSE / openSUSE openSUSE-Tumbleweed xstream-parentx86_64 Advisory build 1.4.20-1.1 OPENSUSE-SU-2024:12796-1
Ubuntu esm libxstream-java Advisory build 1.4.7-1ubuntu0.1+esm1 USN-5946-1
Ubuntu focal libxstream-java Advisory build 1.4.11.1-1ubuntu0.3 USN-5946-1
Ubuntu jammy libxstream-java Advisory build 1.4.18-2ubuntu0.1 USN-5946-1
Ubuntu xenial libxstream-java Advisory build 1.4.8-1ubuntu0.1+esm1 USN-5946-1
Amazon Linux AL2 xstreamsrc Listed in advisory Not stated ALAS2-2023-2007

Description

XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
x-stream xstream < 1.4.20 (affected) GitHub_M · cna

Weaknesses

3
  • CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (GitHub_M · cna)
  • CWE-121 CWE-121: Stack-based Buffer Overflow (GitHub_M · cna)
  • CWE-502 CWE-502: Deserialization of Untrusted Data (GitHub_M · cna)

References

3

Provider assertions

3

GitHub_M · cna

XStream Denial of Service via stack overflow

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
b68cc336c715f227c5ce74231fa320b05e8ceee7272b322cb116bb2df417bdf9
Ingested
23 Sep 2026, 08:02:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected