GHSA-j563-grx4-pjpv · Severity: high · Ecosystem: maven — XStream can cause Denial of Service via stack overflow
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.
Conclusion & alert: CVE-2022-41966 is rated High Exploit Risk (78.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.69%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-05 | 2.38% | 2.69% | +0.30% |
| 2 | 2026-05-17 | 2.53% | 2.38% | -0.14% |
| 3 | 2026-04-29 | — | 2.53% | — |
Full EPSS history (29 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.2 | 3.1 | HIGH |
|
3.9 | 4.2 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-j563-grx4-pjpv · Severity: high · Ecosystem: maven — XStream can cause Denial of Service via stack overflow
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-41966 not yet assigned priority: Debian including 1 source packages (libxstream-java), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-41966 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2022-41966 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2022-41966/ |
ubuntu
|
medium | CVE-2022-41966 medium priority: Ubuntu including 1 source packages (libxstream-java), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 6, ignored 4, needs-triage 3. | https://ubuntu.com/security/CVE-2022-41966 |
| URL | Tags |
|---|---|
| https://github.com/x-stream/xstream/security/advisories/GHSA-j563-grx4-pjpv | Mitigation Third Party Advisory |
| https://x-stream.github.io/CVE-2022-41966.html | Exploit Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20230216-0005/ | Third Party Advisory |