Email me

Rust advisories / toodee

Vulnerability HighRUSTSEC-2025-0062 · toodee

RUSTSEC-2025-0062: Heap Buffer Overflow in the DrainCol Destructor

Short answerA security vulnerability in the toodee crate: Heap Buffer Overflow in the DrainCol Destructor. GitHub rates it High. Fixed in 0.6.0: update to a fixed version.

Cratetoodee
TypeVulnerability (memory-corruption, memory-exposure)
Affected versionsFrom 0.2.0 before 0.6.0.
Fixed in0.6.0
SeverityHigh (GitHub rating)
Published2025-05-22
Last changed2025-10-28
Also known asGHSA-pfp7-vxgr-83pw
Affected functionstoodee::DrainCol::drop

What to do

  1. See which version you have: cargo tree -i toodee (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p toodee. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example toodee = "0.6.0") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

An off-by-one error in the DrainCol::drop destructor could cause an unsafe memory copy operation to exceed the bounds of the associated vector.

The error was related to the size of the data being copied in one of the ptr::copy invocations inside the destructor.

When removing the first column from a TooDee object, the DrainCol return object could cause a heap buffer overflow vulnerability when it is dropped.

The issue was fixed in commit e6e16d5 by reducing the copied size by one.

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.

Other advisories for toodee

Full security history of toodee

Up next

Same cratetoodee: security historyEvery advisory for this crate, and whether it is safe to use today.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