Security mailing lists by PureSourceCode

RUSTSEC-2026-0123

not scored yet

Out-of-bounds read in `bytes_helper` public safe functions

The bytes_helper module contains multiple public functions
(into_arr4(), into_arr2(), u8_from_le_bytes()) that use
slice.get_unchecked(pos..pos + N) without verifying that
pos + N <= slice.len(). These are public safe API functions, allowing any
caller to trigger undefined behavior by passing invalid positions.

For example, calling into_arr4(&data, 10) where data is a 3-byte slice
causes an out-of-bounds access since position 10 exceeds the slice length.

Published
2 May 2026
Last modified
12 May 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io rustdx >= 0.0.0-0, < 0.4.4 0.4.4

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.