UBUNTU-CVE-2021-26956

Source
https://ubuntu.com/security/CVE-2021-26956
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26956.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-26956
Upstream
Published
2021-02-09T23:15:00Z
Modified
2025-09-08T16:47:02Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because bytes from an X server can be interpreted as any data type returned by xcb::xproto::GetPropertyReply::value.

References

Affected packages

Ubuntu:22.04:LTS / rust-xcb

Package

Name
rust-xcb
Purl
pkg:deb/ubuntu/rust-xcb@0.9.0-2?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*

0.9.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.9.0-2",
            "binary_name": "librust-xcb+debug-all-dev"
        },
        {
            "binary_version": "0.9.0-2",
            "binary_name": "librust-xcb+present-dev"
        },
        {
            "binary_version": "0.9.0-2",
            "binary_name": "librust-xcb+x11-dev"
        },
        {
            "binary_version": "0.9.0-2",
            "binary_name": "librust-xcb+xfixes-dev"
        },
        {
            "binary_version": "0.9.0-2",
            "binary_name": "librust-xcb+xlib-xcb-dev"
        },
        {
            "binary_version": "0.9.0-2",
            "binary_name": "librust-xcb-dev"
        }
    ]
}