GHSA-pfp7-vxgr-83pw
toodee 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
What each source reports
GitHub Advisories Score used 8.8
toodee 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.
- Record
GHSA-pfp7-vxgr-83pw- CVSS 4.0
- 8.8 High
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 - Weakness
- CWE-122
- Updated
- 2026-11-02
OSV 8.8
toodee 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.
- Record
GHSA-pfp7-vxgr-83pw- CVSS 4.0
- 8.8 High
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 - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVRUSTSEC-2025-0062No score
Heap Buffer Overflow in the 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.
- Record
RUSTSEC-2025-0062- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
toodeecrates.io | 0.2.0 up to 0.6.0 | 0.6.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-pfp7-vxgr-83pw is a high vulnerability (CVSS 8.8) in toodee, published May 22, 2025. No source lists public exploit code. Fixed in toodee 0.6.0.