RUSTSEC-2026-0123
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.
What each source reports
OSV No score
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.
- Record
RUSTSEC-2026-0123- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rustdxcrates.io |
0.0.0-0 up to 0.4.4 | 0.4.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
RUSTSEC-2026-0123 is a vulnerability with no CVSS score yet in rustdx, published May 2, 2026. No source lists public exploit code. Fixed in rustdx 0.4.4.