{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-26957","id":"CVE-2021-26957","title":"Out of bounds read in xcb","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.","descriptionLong":"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.","published":"2021-02-09T22:07:18.000Z","updated":"2026-06-17T03:44:04.513Z","reserved":"2021-02-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"xcb","purl":"pkg:cargo/xcb","ranges":["<1.0.0",">=0.0.0-0 <1.0.0"],"fixed":["1.0.0"],"advisory":"GHSA-2xpg-3hx4-fm9r"}],"cwes":["CWE-125","CWE-252","CWE-657"],"aliases":["CVE-2021-26955","CVE-2021-26956","CVE-2021-26958","GHSA-2xpg-3hx4-fm9r","GHSA-3288-cwgw-ch86","GHSA-3cj3-jrrp-9rxf","GHSA-mp6r-fgw2-rxfx","RUSTSEC-2021-0019"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0019.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26957","tags":["advisory"]},{"url":"https://github.com/RustSec/advisory-db/issues/653","tags":["web","report"]},{"url":"https://github.com/rtbo/rust-xcb","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26955","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26958","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26956","tags":["advisory"]},{"url":"https://github.com/rust-x-bindings/rust-xcb/issues/95","tags":["web","report"]},{"url":"https://crates.io/crates/xcb","tags":["package"]},{"url":"https://github.com/rust-x-bindings/rust-xcb/issues/78","tags":["report"]},{"url":"https://github.com/rust-x-bindings/rust-xcb/issues/94","tags":["report"]},{"url":"https://github.com/rust-x-bindings/rust-xcb/issues/96","tags":["report"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01728,"epssPercentile":0.7806,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-26957","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26957","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-26957","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2xpg-3hx4-fm9r","ok":true,"note":"GHSA-2xpg-3hx4-fm9r"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3288-cwgw-ch86","ok":true,"note":"GHSA-3288-cwgw-ch86"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3cj3-jrrp-9rxf","ok":true,"note":"GHSA-3cj3-jrrp-9rxf"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mp6r-fgw2-rxfx","ok":true,"note":"GHSA-mp6r-fgw2-rxfx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-26957","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}