CVE-2021-28031: Scratchpad Project Scratchpad

Critical severity, CVSS 9.8. EPSS: 1.4% chance of exploitation in the next 30 days.

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.

Affected products

Published 2021-03-05. Last modified 2026-06-17.