PT-2026-40553

Published

2026-05-02

·

Updated

2026-05-02

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
RUSTSEC-2026-0123
Found an issue in the description? Have something to add? Feel free to write us 👾