{"id":"CVE-2020-36205","aliases":["DEBIAN-CVE-2020-36205","EUVD-2021-1676","GHSA-c8hq-x4mm-p6q6","RUSTSEC-2020-0097","UBUNTU-CVE-2020-36205"],"status":"published","title":"Memory handling issues in xcb","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00406,"percentile":0.35121,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415","CWE-416"],"published":"2020-12-10T12:00:00Z","modified":"2026-10-26T12:02:32Z","fixes":[{"ecosystem":"crates.io","package":"xcb","fixed_in":["1.0.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rust-xcb","fixed_in":["1.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rust-xcb","fixed_in":["1.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-xcb","fixed_in":["1.1.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"xcb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rust-xcb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-xcb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rust-xcb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"xcb","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"xcb","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-xcb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-2"]}],"products":[{"vendor":"xcb_project","product":"xcb"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0097.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","web","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36205","tags":["advisory"]},{"url":"https://github.com/rtbo/rust-xcb/issues/93","tags":["web","report"]},{"url":"https://github.com/rust-x-bindings/rust-xcb/issues/93","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-c8hq-x4mm-p6q6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-36205","tags":["advisory"]},{"url":"https://github.com/rtbo/rust-xcb","tags":["package"]},{"url":"https://crates.io/crates/xcb","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-36205","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36205","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-36205","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-01-22T09:07:13Z","modified":"2024-08-04T17:23:09.558Z","updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2021-1676","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-01-22T09:07:13Z","modified":"2024-08-04T17:23:09Z","updated_at":"2026-11-03T03:07:03.484914Z"}],"ghsa":[{"id":"GHSA-c8hq-x4mm-p6q6","title":"Memory handling issues in xcb","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-08-25T20:50:54Z","modified":"2023-02-13T16:58:15Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-415","CWE-416"],"updated_at":"2026-11-02T14:36:44.81167Z"}],"nvd":[{"id":"CVE-2020-36205","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-01-26T18:15:55.707Z","modified":"2026-06-17T03:15:00.277Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-415","CWE-416"],"updated_at":"2026-11-02T14:06:30.596418Z"}],"osv":[{"id":"CVE-2020-36205","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-01-26T18:15:55.707Z","modified":"2026-03-14T10:29:26.563374Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"DEBIAN-CVE-2020-36205","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-01-26T18:15:55.707Z","modified":"2026-10-26T12:02:32.410793646Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:34.019707Z"},{"id":"GHSA-c8hq-x4mm-p6q6","title":"Memory handling issues in xcb","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-08-25T20:50:54Z","modified":"2023-11-08T04:03:41.417539Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-415","CWE-416"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"RUSTSEC-2020-0097","title":"Soundness issue with base::Error","description":"`base::Error` type contains public field named `ptr`.\nWith this definition, it is possible to create a `base::Error` with an invalid pointer and trigger memory safety errors\nsuch as use-after-free or double-free with safe Rust.\n\nThe users of `xcb` crate are advised not to manipulate the field.","status":"published","published":"2020-12-10T12:00:00Z","modified":"2023-11-08T04:03:41.417539Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:39.492624Z"},{"id":"UBUNTU-CVE-2020-36205","description":"An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.","status":"published","published":"2021-01-26T18:15:00Z","modified":"2025-09-08T16:46:33Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:25.179924Z"}]}}
