PT-2025-5638 · Crates.Io · Fast-Float2

Published

2025-01-29

·

Updated

2025-01-29

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions: No specific software or version is mentioned.
Description: The issue arises from the fast float2::common::AsciiStr::first method within the AsciiStr struct, which uses the unsafe keyword to read from memory without performing bounds checking. It directly dereferences a pointer offset by self.ptr. This method accesses an invalid memory address when it takes an empty string as its input, violating Rust's memory safety guarantees.
Recommendations: At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Related Identifiers

GHSA-JQCP-XC3V-F446

Affected Products

Fast-Float2