{"id":"CVE-2020-36440","aliases":["EUVD-2021-1693","GHSA-f6g6-54hm-fhxv","RUSTSEC-2020-0120"],"status":"published","title":"Data races in libsbc","description":"An issue was discovered in the libsbc crate before 0.1.5 for Rust. For Decoder\u003cR\u003e, it implements Send for any R: Read.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00766,"percentile":0.55903,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-362"],"published":"2020-11-10T12:00:00Z","modified":"2026-06-17T03:15:29Z","fixes":[{"ecosystem":"crates.io","package":"libsbc","fixed_in":["0.1.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"libsbc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.5"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libsbc","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.5"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libsbc","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.1.5"}]}]}],"products":[{"vendor":"libsbc_project","product":"libsbc"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0120.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libsbc/RUSTSEC-2020-0120.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36440","tags":["advisory"]},{"url":"https://github.com/mvertescher/libsbc-rs/commit/a34d6e1","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f6g6-54hm-fhxv"},{"url":"https://github.com/mvertescher/libsbc-rs","tags":["package"]},{"url":"https://crates.io/crates/libsbc","tags":["package"]},{"url":"https://github.com/mvertescher/libsbc-rs/issues/4","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-36440","description":"An issue was discovered in the libsbc crate before 0.1.5 for Rust. For Decoder\u003cR\u003e, it implements Send for any R: Read.","status":"published","published":"2021-08-08T05:18:08Z","modified":"2024-08-04T17:30:07.897Z","updated_at":"2026-11-02T14:35:54.80237Z"}],"euvd":[{"id":"EUVD-2021-1693","description":"An issue was discovered in the libsbc crate before 0.1.5 for Rust. For Decoder\u003cR\u003e, it implements Send for any R: Read.","status":"published","published":"2021-08-08T05:18:08Z","modified":"2024-08-04T17:30:07Z","updated_at":"2026-11-03T03:07:03.010139Z"}],"ghsa":[{"id":"GHSA-f6g6-54hm-fhxv","title":"Data races in libsbc","description":"Affected versions of this crate implements `Send` for `Decoder\u003cR\u003e` for any `R: Read`. This allows `Decoder\u003cR\u003e` to contain `R: !Send` and carry (move) it to another thread.\n\nThis can result in undefined behavior such as memory corruption from data race on `R`, or dropping `R = MutexGuard\u003c_\u003e` from a thread that didn't lock the mutex.\n\nThe flaw was corrected in commit a34d6e1 by adding trait bound `R: Send` to the `Send` impl for `Decoder\u003cR\u003e`.","status":"published","published":"2021-08-25T20:59:02Z","modified":"2023-01-27T05:00:52Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119","CWE-362"],"updated_at":"2026-11-02T14:36:15.574072Z"}],"nvd":[{"id":"CVE-2020-36440","description":"An issue was discovered in the libsbc crate before 0.1.5 for Rust. For Decoder\u003cR\u003e, it implements Send for any R: Read.","status":"published","published":"2021-08-08T06:15:07.127Z","modified":"2026-06-17T03:15:29.817Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:06:44.292752Z"}],"osv":[{"id":"GHSA-f6g6-54hm-fhxv","title":"Data races in libsbc","description":"Affected versions of this crate implements `Send` for `Decoder\u003cR\u003e` for any `R: Read`. This allows `Decoder\u003cR\u003e` to contain `R: !Send` and carry (move) it to another thread.\n\nThis can result in undefined behavior such as memory corruption from data race on `R`, or dropping `R = MutexGuard\u003c_\u003e` from a thread that didn't lock the mutex.\n\nThe flaw was corrected in commit a34d6e1 by adding trait bound `R: Send` to the `Send` impl for `Decoder\u003cR\u003e`.","status":"published","published":"2021-08-25T20:59:02Z","modified":"2023-11-08T04:03:44.964292Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119","CWE-362"],"updated_at":"2026-11-02T15:46:46.006631Z"},{"id":"RUSTSEC-2020-0120","title":"`Decoder\u003cR\u003e` can carry `R: !Send` to other threads","description":"Affected versions of this crate implements `Send` for `Decoder\u003cR\u003e` for any `R: Read`. This allows `Decoder\u003cR\u003e` to contain `R: !Send` and carry (move) it to another thread.\n\nThis can result in undefined behavior such as memory corruption from data race on `R`, or dropping `R = MutexGuard\u003c_\u003e` from a thread that didn't lock the mutex.\n\nThe flaw was corrected in commit a34d6e1 by adding trait bound `R: Send` to the `Send` impl for `Decoder\u003cR\u003e`.","status":"published","published":"2020-11-10T12:00:00Z","modified":"2023-11-08T04:03:44.964292Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
