GHSA-pfp7-vxgr-83pw
high
toodee is vulnerable to Heap Buffer Overflow through its DrainCol Destructor
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2025-0062
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| toodee (crates.io) | from 0.2.0 before 0.6.0 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-pfp7-vxgr-83pw changed 2025-10-28 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2025-0062 changed 2025-10-28 | CC0-1.0 |