This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate malachite-base

Dependencies

(12 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 clap^2.33.14.6.1out of date
 getrandom^0.20.4.2out of date
 gnuplot^0.0.460.0.46up to date
 hashbrown^0.16.10.17.0out of date
 itertools^0.14.00.14.0up to date
 libm^0.2.160.2.16up to date
 rand^0.9.20.10.1out of date
 rand_chacha^0.9.00.10.0out of date
 ryu^1.0.221.0.23up to date
 sha3^0.10.80.11.0out of date
 time ⚠️^0.3.460.3.47maybe insecure
 walkdir^2.5.02.5.0up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 maplit^1.0.21.0.2up to date

Security Vulnerabilities

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.