Rust advisories / clear_on_drop
UnmaintainedRUSTSEC-2026-0283 · clear_on_drop
RUSTSEC-2026-0283: clear_on_drop is unmaintained
Short answerNot a bug report: clear_on_drop is no longer maintained, so future security issues will not be fixed. Plan to move to a maintained alternative.
| Crate | clear_on_drop |
|---|---|
| Type | Unmaintained |
| Affected versions | Every version. |
| Fixed in | not applicable (the crate is unmaintained) |
| Severity | not scored |
| Published | 2026-09-13 |
| Last changed | 2026-09-13 |
| Also known as | none |
What to do
- Look for a maintained fork or alternative crate.
- If you cannot move yet, acknowledge it in your audit config so CI stays green while you plan: add
"RUSTSEC-2026-0283"toignorein.cargo/audit.tomlordeny.toml, with a comment saying why. - Find who pulls it in:
cargo tree -i clear_on_drop.
Details from the advisory
This crate is no longer maintained. Use the zeroize crate instead.
- Instead of
ClearOnDrop, useZeroizing - Instead of
clear_stack, usezeroize_stack
References
- Package: crates.io/crates/clear_on_drop
- Advisory: rustsec.org/advisories/RUSTSEC-2026-0283.html
- Web: github.com/cesarb/clear_on_drop/commit/5916d6260acbad8a34290dba137f39963f13f467
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?