All reports
High

Double free in algorithmica

Affected versions

Version ranges need review.

Rust / Cargoalgorithmica
Affected versions
<= 0.1.8
Fixed version
Not reported
Rust / Cargoalgorithmica
Affected versions
>=0.0.0-0
Fixed version
Not reported

Exploitation

CVE-2021-31996

Probability of exploitation in the next 30 days: 0.96%

FIRST EPSS · 2026-11-20

Description

An issue was discovered in the algorithmica crate through 2021-03-07 for Rust. In the affected versions of this crate, merge_sort::merge() wildly duplicates and drops ownership of T without guarding against double-free. Due to such implementation, simply invoking merge_sort::merge() on Vec<T: Drop> can cause double free bugs.

Links