UBUNTU-CVE-2021-26958

Source
https://ubuntu.com/security/CVE-2021-26958
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26958.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-26958
Upstream
Published
2021-02-09T23:15:00Z
Modified
2025-07-14T06:34:33.613722Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • - medium
Summary
[none]
Details

An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because transmutation to the wrong type can happen after xcb::base::cast_event uses std::mem::transmute to return a reference to an arbitrary type.

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

Ubuntu:24.04:LTS / rust-xcb

Package

Name
rust-xcb
Purl
pkg:deb/ubuntu/rust-xcb@1.2.2-1?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*

1.2.1-3
1.2.2-1

Ubuntu:25.04 / rust-xcb

Package

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

Affected ranges

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

Affected versions

1.*

1.4.0-2