SecurityContext

CVE-2021-26957: xcb Rust crate - Out-of-bounds Read

  • Cve: CVE-2021-26957
  • Name: xcb Rust crate - Out-of-bounds Read
  • Description: An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because there is an out-of-bounds read in xcb::xproto::change_property(), as demonstrated by a format=32 T=u8 situation where out-of-bounds bytes are sent to an X server.
  • Impact: Attackers can cause out-of-bounds reads, potentially leading to information disclosure or application crashes.
  • Remediation: Update to the latest version of the xcb crate where the issue is fixed.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01728
  • Epss percentile: 0.78042
  • Assignee: [email protected]
  • Published at: 2021-02-09T23:15:14Z
  • Age in days: 2114
  • Modified at: 2026-06-17T03:44:04Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-26957
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

Public exploits

UrlSourceAdded date
https://rustsec.org/advisories/RUSTSEC-2021-0019.htmlnvd2021-02-09

References

UrlSourceTags
https://rustsec.org/advisories/RUSTSEC-2021-0019.htmlnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
xcb_project:xcb<= 2021-02-04nonvd/v1/products/xcb_project/xcb

Projects

RepositoryLink kindsIndexedUrl
rustsec/advisory-dbissuesyes/v1/repositories/rustsec/advisory-db
rtbo/rust-xcbpackageyes/v1/repositories/rtbo/rust-xcb

Index

  • Repositories: 5
  • Repositories high signal: 4
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-02-09
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts