Security mailing lists by PureSourceCode

GHSA-9fjq-45qv-pcm7

MEDIUM

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.

Published
22 Dec 2025
Last modified
28 Dec 2025
Weakness
CWE-119
Also known as
RUSTSEC-2025-0137
Sources
OSVJSONOSV RUSTSEC-2025-0137JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS: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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io ruint <= 1.17.0
OSV crates.io ruint >= 0.0.0-0, < 1.17.1 1.17.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Dec 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.