{"id":"RUSTSEC-2023-0086","revision":"51d39a0b0d3c4191906ebe7a275ae2de","records":[{"revision":"51d39a0b0d3c4191906ebe7a275ae2de","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2023-0086","aliases":["GHSA-2326-pfpj-vx3h"],"title":"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.","state":0,"publishedAt":"2023-09-03T12:00:00+00:00","modifiedAt":"2026-02-04T03:49:11.161462+00:00","affected":[{"ecosystem":"crates.io","name":"lexical-core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"1.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/lexical-core","https://rustsec.org/advisories/RUSTSEC-2023-0086.html","https://github.com/Alexhuszagh/rust-lexical/issues/102","https://github.com/Alexhuszagh/rust-lexical/issues/101","https://github.com/Alexhuszagh/rust-lexical/issues/95","https://github.com/Alexhuszagh/rust-lexical/issues/104","https://github.com/Alexhuszagh/rust-lexical/issues/126"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2023-0086","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2023-0086","identifiers":["RUSTSEC-2023-0086","GHSA-2326-pfpj-vx3h"]},"retained":false,"historicalAffected":[]}],"coverage":[]}