PT-2026-53650 · Crates.Io · Solana Rbpf

Published

2026-05-28

·

Updated

2026-05-28

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Affected versions of solana rbpf expose the safe method EbpfVm::invoke function. This method computes an obfuscated VM pointer by casting self to *mut u64 and applying a randomized offset derived from get runtime environment key().
The resulting pointer arithmetic is performed with ptr::offset, which requires the computed pointer to remain within the same allocation. In practice, the randomized offset can move the pointer far outside the allocation containing the EbpfVm, causing undefined behavior before the supplied builtin function is invoked.

Unmaintained

The upstream solana rbpf repository is archived, and no patched version of this crate is currently available.
Users should migrate to the maintained solana-sbpf crate. The issue has been fixed there in anza-xyz/sbpf#151.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

RUSTSEC-2026-0191

Affected Products

Solana Rbpf