{"id":"GHSA-x8jh-xj3x-gx3c","aliases":["GHSA-x8jh-xj3x-gx3c","RUSTSEC-2024-0379"],"related":[],"kind":"vulnerability","state":"published","title":"`fast-float` has multiple soundness issues","summary":"`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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`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.","format":"markdown","source":"ghsa"}],"published":"2024-10-31T12:00:00.000Z","modified":"2026-09-10T03:50:21.159Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","rating":"LOW"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.2.0"}],"ecosystem":"crates.io","package":"fast-float","purl":"pkg:cargo/fast-float","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"fast-float","purl":"pkg:cargo/fast-float","source":"rustsec"}],"references":[{"url":"https://github.com/aldanor/fast-float-rust/issues/28","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/aldanor/fast-float-rust/issues/35","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/aldanor/fast-float-rust/issues/37","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/aldanor/fast-float-rust","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0379.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/fast-float","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x8jh-xj3x-gx3c","url":"https://github.com/advisories/GHSA-x8jh-xj3x-gx3c","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:21.159Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2024-0379","url":"https://rustsec.org/advisories/RUSTSEC-2024-0379.html","licence":"CC0-1.0","modified":"2025-10-28T06:29:26.849Z"}],"updatedAt":"2026-11-25T22:56:43.218Z"}