Email me

Rust advisories / fast-float

Unsound LowRUSTSEC-2024-0379 · fast-float

RUSTSEC-2024-0379: Multiple soundness issues

Short answerfast-float has an API that can cause undefined behaviour from safe code: Multiple soundness issues. No fixed version yet.

Cratefast-float
TypeUnsound
Affected versionsEvery version.
Fixed innone
SeverityLow (GitHub rating)
Published2024-10-31
Last changed2025-10-28
Also known asGHSA-x8jh-xj3x-gx3c

What to do

  1. Find who pulls it in: cargo tree -i fast-float.
  2. Avoid the affected API, or replace the crate.

Details from the advisory

fast-float contains multiple soundness issues:

1. Undefined behavior when checking input length, which has been merged but no package pubished. 1. Many functions marked as safe with non-local safety guarantees

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 into libcore. When requiring direct parsing from bytes and/or partial parsers, the fast-float2 fork of fast-float containing these security patches and reduces overall usage of unsafe.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for fast-float

Full security history of fast-float

Up next

Same cratefast-float: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ