NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

GHSA-9fjq-45qv-pcm7: ruint affected by unsoundness of safe `reciprocal_mg10`

mediumCVSS 4.0 6.6

The function reciprocalmg10 is marked as safe but can trigger undefined behavior (out-of-bounds access) because it relies on debugassert! for safety checks instead of assert!. When compiled in release mode, the debugassert! is optimized out, potentially allowing invalid inputs to cause memory corruption.

Published Dec 26, 2025

Affected packages

ruint

Ecosystem
Rust (crates.io)
Affected
<= 1.17.0
Fixed in
No patched version yet
Check
cargo tree -i ruint

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

The function reciprocal_mg10 is marked as safe but can trigger undefined behavior (out-of-bounds access) because it relies on debug_assert! for safety checks instead of assert!.

When compiled in release mode, the debug_assert! is optimized out, potentially allowing invalid inputs to cause memory corruption.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology