cve.bz

CVE-2021-28031

9.8 criticalEPSS 1.4%

Critical (9.8) in scratchpad project scratchpad. EPSS 1.4% chance of exploitation in the next 30 days. Fixed in scratchpad 1.3.1.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% chance of exploitation in the next 30 days; higher than 71% of CVEs (scores of 2026-10-31)
CWE
CWE-415
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3qm2-rfqw-fmrwcrates.ioscratchpad<1.3.11.3.1
RUSTSEC-2021-0030crates.ioscratchpad>=0.0.0-0 <1.3.11.3.1

References

Check your stackJSON