GHSA-pfp7-vxgr-83pw json
toodee is vulnerable to Heap Buffer Overflow through its DrainCol Destructor
published last yr. modified last yr. also RUSTSEC-2025-0062
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
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.
Patch / fix
Is GHSA-pfp7-vxgr-83pw in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | toodee | >=0.2.0, <0.6.0 |
0.6.0 |
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
Sources
- GitHub Advisory GHSA-pfp7-vxgr-83pw
- OSV RUSTSEC-2025-0062
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.