All reports
Critical

Double free in stack_dst

Affected versions

Rust / Cargostack_dst
Affected versions
< 0.6.1
Fixed version
0.6.1

Exploitation

CVE-2021-28034

Probability of exploitation in the next 30 days: 1.30%

FIRST EPSS · 2026-11-22

Description

Affected versions of stack_dst used a push_inner function that increased the internal length of the array and then called val.clone(). If the val.clone() call panics, the stack could drop an already dropped element or drop uninitialized memory. This issue was fixed in 2a4d538 by increasing the length of the array after elements are cloned.

Links