{"id":"CVE-2020-35894","aliases":["EUVD-2021-1631","GHSA-85j6-f8j6-q26x","RUSTSEC-2020-0040"],"status":"published","title":"Unaligned references in Obstack","description":"An issue was discovered in the obstack crate before 0.1.4 for Rust. Unaligned references can occur.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01174,"percentile":0.6776,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-706"],"published":"2020-09-03T12:00:00Z","modified":"2026-10-24T10:30:49Z","fixes":[{"ecosystem":"crates.io","package":"obstack","fixed_in":["0.1.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"obstack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.4"}]}]},{"source":"osv","ecosystem":"crates.io","package":"obstack","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.4"}]}]},{"source":"osv","ecosystem":"crates.io","package":"obstack","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.1.4"}]}]}],"products":[{"vendor":"obstack_project","product":"obstack"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0040.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35894","tags":["advisory"]},{"url":"https://github.com/petertodd/rust-obstack/issues/4","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-85j6-f8j6-q26x"},{"url":"https://github.com/petertodd/rust-obstack","tags":["package"]},{"url":"https://crates.io/crates/obstack","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35894","description":"An issue was discovered in the obstack crate before 0.1.4 for Rust. Unaligned references can occur.","status":"published","published":"2020-12-31T08:23:55Z","modified":"2024-08-04T17:16:13.189Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1631","description":"An issue was discovered in the obstack crate before 0.1.4 for Rust. Unaligned references can occur.","status":"published","published":"2020-12-31T08:23:55Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.595509Z"}],"ghsa":[{"id":"GHSA-85j6-f8j6-q26x","title":"Unaligned references in Obstack","description":"Obstack generates unaligned references for types that require a large alignment.","status":"published","published":"2021-08-25T20:48:12Z","modified":"2023-06-13T20:00:07Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-706"],"updated_at":"2026-11-02T14:36:53.654352Z"}],"nvd":[{"id":"CVE-2020-35894","description":"An issue was discovered in the obstack crate before 0.1.4 for Rust. Unaligned references can occur.","status":"published","published":"2020-12-31T10:15:16.973Z","modified":"2026-06-17T03:14:33.15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-706"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-35894","description":"An issue was discovered in the obstack crate before 0.1.4 for Rust. Unaligned references can occur.","status":"published","published":"2020-12-31T10:15:16.973Z","modified":"2026-10-24T10:30:49.666598041Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-85j6-f8j6-q26x","title":"Unaligned references in Obstack","description":"Obstack generates unaligned references for types that require a large alignment.","status":"published","published":"2021-08-25T20:48:12Z","modified":"2023-11-08T04:03:37.930206Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-706"],"updated_at":"2026-11-02T15:46:41.732368Z"},{"id":"RUSTSEC-2020-0040","title":"Obstack generates unaligned references","description":"Obstack generates unaligned references for types that require a large alignment.","status":"published","published":"2020-09-03T12:00:00Z","modified":"2023-11-08T04:03:37.930206Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
