CVE-2021-28031

CRITICAL

scratchpad <1.3.1 - Use After Free

Title source: llm

Description

An issue was discovered in the scratchpad crate before 1.3.1 for Rust. The move_elements function can have a double-free upon a panic in a user-provided f function.

Scores

CVSS v3 9.8
EPSS 0.0043
EPSS Percentile 62.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-415
Status published

Affected Products (2)

scratchpad_project/scratchpad < 1.3.1
crates.io/scratchpad < 1.3.1crates.io

Timeline

Published Mar 05, 2021
Tracked Since Feb 18, 2026