Buffer Overflow Affecting binary_vec_io package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-BINARYVECIO-13671350
  • published24 Oct 2025
  • disclosed22 Oct 2025
  • creditUnknown

Introduced: 22 Oct 2025

New CVE NOT AVAILABLE CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for binary_vec_io.

Overview

binary_vec_io is a set of utilities that are used by the crate pretty_trace.

Affected versions of this package are vulnerable to Buffer Overflow via the binary_read_to_ref and binary_write_from_ref functions. An attacker can cause memory corruption or trigger undefined behavior by passing a value of n > 1, which results in slices being created that extend beyond the allocated memory.

CVSS Base Scores

version 4.0
version 3.1