GHSA-9fjq-45qv-pcm7MediumNo CVE ID named

ruint affected by unsoundness of safe `reciprocal_mg10`

Published
December 26, 2025
Last Modified
December 26, 2025

📋 Description

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.

🎯 Affected products1

  • rust/ruint:<= 1.17.0

🔗 References (4)