Vulnerability DatabaseGHSA-pfp7-vxgr-83pw

GHSA-pfp7-vxgr-83pw
Rust vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-pfp7-vxgr-83pw) affects the toodee Rust crate versions 0.2.0 through 0.5.0. Discovered and reported on May 22, 2025, this heap buffer overflow vulnerability was found in the DrainCol::drop destructor. The issue was officially published to the GitHub Advisory Database on September 9, 2025, and received a high severity rating with a CVSS score of 8.8 (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability stems from an off-by-one error in the DrainCol::drop destructor where an unsafe memory copy operation could exceed the bounds of the associated vector. The issue specifically occurs when removing the first column from a TooDee object, where the DrainCol return object triggers a heap buffer overflow during the drop operation. The vulnerability is related to the size of the data being copied in one of the ptr::copy invocations inside the destructor (GitHub Issue).

Impact

The vulnerability allows unauthorized access beyond the allocated memory bounds, potentially leading to memory corruption and exposure. The CVSS metrics indicate high impacts on confidentiality and availability of the vulnerable system, with subsequent lower impacts on confidentiality, integrity, and availability of dependent systems (GitHub Advisory).

Mitigation and workarounds

The vulnerability was fixed in version 0.6.0 of the toodee crate. The fix involves reducing the copied size by one in the ptr::copy invocation, as implemented in commit e6e16d5. Users are advised to upgrade to version 0.6.0 or later to address this vulnerability (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-pfp7-vxgr-83pwHIGH8.8
  • RustRust
  • toodee
NoYesSep 09, 2025
RUSTSEC-2025-0065N/AN/A
  • RustRust
  • matrix-sdk-base
NoYesSep 11, 2025
RUSTSEC-2025-0061N/AN/A
  • RustRust
  • iron
NoNoSep 08, 2025
RUSTSEC-2025-0060N/AN/A
  • RustRust
  • crypto-hash
NoNoSep 08, 2025
RUSTSEC-2025-0059N/AN/A
  • RustRust
  • servo-fontconfig
NoNoSep 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management