Safe functions accept a single &T or &mut T but multiply by n to create slices extending beyond allocated memory when n > 1.
These functions use from_raw_parts to create slices larger than the underlying allocation, violating memory safety.
The binaryvecio repository is archived and unmaintained.
{
"nvd_published_at": null,
"github_reviewed_at": "2025-10-22T21:47:59Z",
"cwe_ids": [
"CWE-120"
],
"severity": "HIGH",
"github_reviewed": true
}