Email me

Rust advisories / safemem

UnmaintainedRUSTSEC-2023-0081 · safemem

RUSTSEC-2023-0081: safemem is unmaintained

Short answerNot a bug report: safemem is no longer maintained, so future security issues will not be fixed. Plan to move to a maintained alternative.

Cratesafemem
TypeUnmaintained
Affected versionsEvery version.
Fixed innot applicable (the crate is unmaintained)
Severitynot scored
Published2023-02-14
Last changed2024-03-04
Also known asnone

What to do

  1. Look for a maintained fork or alternative crate.
  2. If you cannot move yet, acknowledge it in your audit config so CI stays green while you plan: add "RUSTSEC-2023-0081" to ignore in .cargo/audit.toml or deny.toml, with a comment saying why.
  3. Find who pulls it in: cargo tree -i safemem.

Details from the advisory

The latest crates.io release was in 2019. The repository has been archived by the author.

Migration

  • safemem::copy_over(slice, src_idx, dest_idx, len); can be replaced with slice.copy_within(src_idx..src_idx+len, dest_idx); as of rust 1.37.0.
  • safemem::write_bytes(slice, byte); can be replaced with slice.fill(byte); as of rust 1.50.0
  • safemem::prepend(slice, vec); can be replaced with

``rust let old_len = vec.len(); vec.extend_from_slice(slice); vec.rotate_left(old_len); ``

as of rust 1.26.0

References

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 →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ