
CVE catalog
CVE-2022-41966
libxstream-java: CVE-2022-41966
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 9.01% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libxstream-java | sid | 1.4.21-2 | fixed |
| Debian | libxstream-java | forky | 1.4.21-2 | fixed |
| Debian | libxstream-java | trixie | 1.4.21-1 | fixed |
| Debian | libxstream-java | bookworm | 1.4.20-1+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libxstream-java | source | sid | 1.4.20-1 | not yet assigned | Not reported | [1027754] |
| Debian | libxstream-java | source | forky | 1.4.20-1 | not yet assigned | Not reported | [1027754] |
| Debian | libxstream-java | source | trixie | 1.4.20-1 | not yet assigned | Not reported | [1027754] |
| Debian | libxstream-java | source | bookworm | 1.4.20-1 | not yet assigned | Not reported | [1027754] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libxstream-java]Fixed
Details (2)
1.4.20-1+deb12u1· all · bookwormFixed · Fixed:
1.4.20-1dsa · libxstream-java · debian · bookworm
1.4.20-1+deb12u1· all · bookwormFixed · Fixed:
1.4.20-1dsa · libxstream-java · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_1673-1.json]
- [https://osv.dev/vulnerability/DLA-3267-1]
- [https://osv.dev/vulnerability/DSA-5315-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-41966]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-41966.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1142.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]