toodee is vulnerable to Heap Buffer Overflow through its DrainCol Destructor
High severity
GitHub Reviewed
Published
Sep 9, 2025
to the GitHub Advisory Database
•
Updated Sep 9, 2025
Description
Published to the GitHub Advisory Database
Sep 9, 2025
Reviewed
Sep 9, 2025
Last updated
Sep 9, 2025
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.References