# GHSA-x8jh-xj3x-gx3c: `fast-float` has multiple soundness issues

- Severity: Low (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-10-31T12:00:00.000Z
- Modified: 2026-09-10T03:50:21.159Z
- Also known as: RUSTSEC-2024-0379

## Description

`fast-float` contains multiple soundness issues:

 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).
 1. [Many functions marked as safe with non-local safety guarantees](https://github.com/aldanor/fast-float-rust/issues/37)

The library is also unmaintained.

## Alternatives

For 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.

(As written by GitHub Advisory Database.)

## Affected

- fast-float (crates.io): up to 0.2.0; from 0.0.0-0

## References

- <https://github.com/aldanor/fast-float-rust/issues/28> (report, web)
- <https://github.com/aldanor/fast-float-rust/issues/35> (report, web)
- <https://github.com/aldanor/fast-float-rust/issues/37> (report, web)
- <https://github.com/aldanor/fast-float-rust> (package)
- <https://rustsec.org/advisories/RUSTSEC-2024-0379.html> (advisory, web)
- <https://crates.io/crates/fast-float> (package)

## Sources

- GitHub Advisory Database: [GHSA-x8jh-xj3x-gx3c](https://github.com/advisories/GHSA-x8jh-xj3x-gx3c), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2024-0379](https://rustsec.org/advisories/RUSTSEC-2024-0379.html), CC0-1.0, modified 2025-10-28

---

Page: https://cve.day/GHSA-x8jh-xj3x-gx3c · Whole record: https://cve.day/GHSA-x8jh-xj3x-gx3c.json · Rebuilt by cve.day 2026-11-25T22:56:43.218Z
