Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-41966: XStream serializes Java objects to XML and back again

63
This week
HIGH 8.2REMOTEUPGRADE

CVE-2022-41966 is a high-severity flaw (CVSS 8.2) affecting xstream. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 overf

Why this priority

  • High severity
  • EPSS top 5%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.2 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance9.3% (top 5%)
CISA exploited listNo
WeaknessCWE-120, CWE-121, CWE-502, CWE-674
Published2022-12-28
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: xstream

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

xstream xstream UPGRADE
Affected: < 1.4.20
Fixed in: 1.4.20
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy xstream || rpm -q xstream || xstream --version
2. UPGRADE to 1.4.20 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade xstream
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade xstream
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-41966?

xstream: upgrade to 1.4.20. Exact commands for each OS are on this page.

Is CVE-2022-41966 being exploited?

CVE-2022-41966 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-41966 affect?

CVE-2022-41966 affects xstream. Severity is high (CVSS 8.2). 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

How urgent is CVE-2022-41966?

Priority 63/100. High severity; EPSS top 5%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Java vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.