libxstream-java — security advisory
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.
- Products
- libxstream-java
- Affected versions
- Not specified
- Fixed versions
- 1.4.18-1
- CVEs
- CVE-2021-39150
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:50 UTC · Revision 1
Source evidence
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.
osv:DEBIAN-CVE-2021-39150
libxstream-java
Fixed versions: 1.4.18-1
libxstream-java
Fixed versions: 1.4.18-1
libxstream-java
Fixed versions: 1.4.18-1
Complete source record
{
"id": "baf22dc3fb7ddb267fc02ccc7139d10769327e0fcde9b2d6b172468d624c7f81",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-39150",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-39150",
"summary": "XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.",
"evidence": "osv:DEBIAN-CVE-2021-39150",
"products": [
{
"name": {
"value": "libxstream-java",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.4.18-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxstream-java",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.4.18-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxstream-java",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.4.18-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-39150",
"aliases": [
"DEBIAN-CVE-2021-39150"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.18-1"
}
]
}
],
"package": {
"name": "libxstream-java",
"purl": "pkg:deb/debian/libxstream-java?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-39150.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.18-1"
}
]
}
],
"package": {
"name": "libxstream-java",
"purl": "pkg:deb/debian/libxstream-java?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-39150.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.18-1"
}
]
}
],
"package": {
"name": "libxstream-java",
"purl": "pkg:deb/debian/libxstream-java?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-39150.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:50.443859720Z",
"provider": "osv",
"upstream": [
"CVE-2021-39150"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-39150"
]
},
"related_cves": [
{
"value": "CVE-2021-39150",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422426,
"published_at": "2021-08-23T19:15:12.803+00:00"
}