PT-2025-46131 · Crates.Io · Orx-Pinned-Vec

Published

2025-10-21

·

Updated

2025-10-21

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
The safe function index of ptr causes undefined behavior when called with an empty slice.
The issue occurs in the line ptr.add(slice.len() - 1) which underflows when slice.len() is 0, creating a pointer with a massive offset. According to Rust's safety rules, creating such a pointer causes immediate undefined behavior.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

RUSTSEC-2025-0106

Affected Products

Orx-Pinned-Vec