UBUNTU-CVE-2022-41966

Source
https://ubuntu.com/security/CVE-2022-41966
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-41966
Upstream
Downstream
Related
Published
2022-12-28T00:15:00Z
Modified
2026-05-20T16:08:15Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.11.1-1+deb10u4build0.18.04.1

Affected versions

1.*
1.4.10-1
1.4.11.1-1~18.04
1.4.11.1-1~18.04.1
1.4.11.1-1~18.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.11.1-1+deb10u4build0.18.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"
Ubuntu:20.04:LTS
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.11.1-1ubuntu0.3

Affected versions

1.*
1.4.11.1-1
1.4.11.1-1ubuntu0.1
1.4.11.1-1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.11.1-1ubuntu0.3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"
Ubuntu:22.04:LTS
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.18-2ubuntu0.1

Affected versions

1.*
1.4.15-4
1.4.18-2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.18-2ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"
Ubuntu:24.04:LTS
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.20-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.20-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"
Ubuntu:25.10
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.21-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.21-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"
Ubuntu:26.04:LTS
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.21-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.21-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"
Ubuntu:Pro:14.04:LTS
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=trusty%2Fesm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.7-1ubuntu0.1+esm1

Affected versions

1.*
1.4.4-1
1.4.7-1
1.4.7-1ubuntu0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.7-1ubuntu0.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"
Ubuntu:Pro:16.04:LTS
libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.8-1ubuntu0.1+esm1

Affected versions

1.*
1.4.8-1
1.4.8-1ubuntu0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "libxstream-java",
            "binary_version": "1.4.8-1ubuntu0.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41966.json"