RUSTSEC-2025-0062
HIGHtoodee is vulnerable to Heap Buffer Overflow through its DrainCol Destructor
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.
- Published
- 22 May 2025
- Last modified
- 28 Oct 2025
- Weakness
- CWE-122
- Also known as
- GHSA-pfp7-vxgr-83pw
- Sources
- OSV GHSA-pfp7-vxgr-83pwJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | toodee | >= 0.2.0, < 0.6.0 | 0.6.0 |
References
- https://github.com/antonmarsden/toodee/issues/26 · WEB, REPORT
- https://github.com/antonmarsden/toodee/commit/e6e16d5a97e6258ffbedbae1bde65b45c60f242f · WEB
- https://github.com/antonmarsden/toodee · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0062.html · WEB, ADVISORY
- https://crates.io/crates/toodee · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Sep 2025)