All reports
High

Unexpected panic in multihash

Affected versions

Version ranges need review.

Rust / Cargomultihash
Affected versions
< 0.11.3
Fixed version
0.11.3
Rust / Cargomultihash
Affected versions
>=0.0.0-0 <0.11.3
Fixed version
0.11.3

Exploitation

CVE-2020-35909

Probability of exploitation in the next 30 days: 1.39%

FIRST EPSS · 2026-11-22

Description

In versions prior 0.11.3 it's possible to make from_slice panic by feeding it certain malformed input. It's never documented that from_slice (and from_bytes which wraps it) can panic, and its' return type (Result<Self, DecodeError>) suggests otherwise. In practice, from_slice/from_bytes is frequently used in networking code and is being called with unsanitized data from untrusted sources. This can allow attackers to cause DoS by causing an unexpected panic in the network client's code..

Links