GHSA-pfp7-vxgr-83pw — Vulnerability in toodee — Advisory Details
toodee is vulnerable to Heap Buffer Overflow through its DrainCol Destructor
Does your project use an affected toodee version?
Paste your Cargo.lock to check it for GHSA-pfp7-vxgr-83pw and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published September 9, 2025 (443 days ago).
- Last revised October 28, 2025 — 49 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p toodee --precise 0.6.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| toodee crates.io · Affected: All versions | 0.6.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-122
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:L/SI:L/SA:L
References
Frequently Asked Questions
- What is GHSA-pfp7-vxgr-83pw?
- toodee is vulnerable to Heap Buffer Overflow through its DrainCol Destructor. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 10.0/10).
- How do I check if my project is affected by GHSA-pfp7-vxgr-83pw?
- GHSA-pfp7-vxgr-83pw affects toodee. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-pfp7-vxgr-83pw and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
Also Known As
Related CVEs
- CVE-2021-28028CRITICAL
Double free in toodee
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution