{"id":"GHSA-2326-pfpj-vx3h","revision":"754066ebfb7f4a9da53a5e8de61996e0","records":[{"revision":"754066ebfb7f4a9da53a5e8de61996e0","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-2326-pfpj-vx3h","aliases":["RUSTSEC-2023-0086"],"title":"lexical-core has multiple soundness issues","description":"`RUSTSEC-2024-0377` contains multiple soundness issues:\n\n 1. [Bytes::read() allows creating instances of types with invalid bit patterns](https://github.com/Alexhuszagh/rust-lexical/issues/102)\n 1. [BytesIter::read() advances iterators out of bounds](https://github.com/Alexhuszagh/rust-lexical/issues/101)\n 1. [The `BytesIter` trait has safety invariants but is public and not marked `unsafe`](https://github.com/Alexhuszagh/rust-lexical/issues/104)\n 1. [`write_float()` calls `MaybeUninit::assume_init()` on uninitialized data, which is is not allowed by the Rust abstract machine](https://github.com/Alexhuszagh/rust-lexical/issues/95)\n 1. [`radix()` calls `MaybeUninit::assume_init()` on uninitialized data, which is is not allowed by the Rust abstract machine](https://github.com/Alexhuszagh/rust-lexical/issues/126)\n\nVersion 1.0 fixes these issues, removes the vast majority of `unsafe` code, and also fixes some correctness issues.\n","state":0,"publishedAt":"2024-09-16T17:19:01+00:00","modifiedAt":"2026-09-10T03:50:55.5294059+00:00","affected":[{"ecosystem":"crates.io","name":"lexical-core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/Alexhuszagh/rust-lexical/issues/101","https://github.com/Alexhuszagh/rust-lexical/issues/102","https://github.com/Alexhuszagh/rust-lexical/issues/104","https://github.com/Alexhuszagh/rust-lexical/issues/126","https://github.com/Alexhuszagh/rust-lexical/issues/95","https://github.com/Alexhuszagh/rust-lexical","https://github.com/advisories/GHSA-c2hm-mjxv-89r4","https://rustsec.org/advisories/RUSTSEC-2023-0055","https://rustsec.org/advisories/RUSTSEC-2023-0086.html"],"sourceUrl":"https://github.com/advisories/GHSA-2326-pfpj-vx3h","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2326-pfpj-vx3h","identifiers":["GHSA-2326-pfpj-vx3h","RUSTSEC-2023-0086"]},"retained":false,"historicalAffected":[]}],"coverage":[]}