Every CVESearch/Get API key

GHSA-9fjq-45qv-pcm7

ruint affected by unsoundness of safe `reciprocal_mg10`

6.6 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

What each source reports

GitHub Advisories Score used6.6

ruint affected by unsoundness of safe `reciprocal_mg10`

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.

Record
GHSA-9fjq-45qv-pcm7
CVSS 4.0
6.6 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
Weakness
CWE-119
Updated
2026-11-02
OSV6.6

ruint affected by unsoundness of safe `reciprocal_mg10`

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.

Record
GHSA-9fjq-45qv-pcm7
CVSS 4.0
6.6 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
Weakness
CWE-119
Updated
2026-11-02
OSVRUSTSEC-2025-0137No score

Unsoundness of safe `reciprocal_mg10`

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.

Record
RUSTSEC-2025-0137
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
ruint
crates.io
through 1.17.0None known
ruint
crates.io
0.0.0-0 up to 1.17.1
1.17.1

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-9fjq-45qv-pcm7 is a medium vulnerability (CVSS 6.6) in ruint, published December 22, 2025. No source lists public exploit code. Fixed in ruint 1.17.1.

References

MoveEnter Open