Advisory

RUSTSEC-2025-0109

Also known as: GHSA-wwxp-hxh6-8gf8

Summary

Out-of-bounds memory access in binary_read_to_ref and binary_write_from_ref

Details

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 binary_vec_io repository is archived and unmaintained.

Severity

Not rated by the source.

Dates

Published
2025-10-21 12:00 UTC
Modified
2025-10-28 06:29 UTC

Affected packages and fixes

binary_vec_io

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences