{"id":"RUSTSEC-2024-0379","summary":"Multiple soundness issues","details":"`fast-float` contains multiple soundness issues:\n\n 1. [Undefined behavior when checking input length](https://github.com/aldanor/fast-float-rust/issues/28), which has been merged but no package [pubished](https://github.com/aldanor/fast-float-rust/issues/35).\n 1. [Many functions marked as safe with non-local safety guarantees](https://github.com/aldanor/fast-float-rust/issues/37)\n\nThe library is also unmaintained.\n\n## Alternatives\n\nFor quickly parsing floating-point numbers third-party crates are generally no longer needed. A fast float parsing algorithm by the author of `lexical` has been [merged](https://github.com/rust-lang/rust/pull/86761) into libcore. When requiring direct parsing from bytes and/or partial parsers, the [`fast-float2`](https://crates.io/crates/fast-float2) fork of `fast-float` containing these security patches and reduces overall usage of unsafe.","aliases":["GHSA-x8jh-xj3x-gx3c"],"modified":"2025-10-28T06:29:26.849953Z","published":"2024-10-31T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/fast-float"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0379.html"},{"type":"REPORT","url":"https://github.com/aldanor/fast-float-rust/issues/35"},{"type":"REPORT","url":"https://github.com/aldanor/fast-float-rust/issues/28"},{"type":"REPORT","url":"https://github.com/aldanor/fast-float-rust/issues/37"}],"affected":[{"package":{"name":"fast-float","ecosystem":"crates.io","purl":"pkg:cargo/fast-float"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":[],"cvss":null,"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0379.json"}}],"schema_version":"1.7.3"}