Security mailing lists by PureSourceCode

RUSTSEC-2026-0191

not scored yet

`EbpfVm::invoke_function` performs out-of-bounds pointer arithmetic

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.

Published
28 May 2026
Last modified
29 Jun 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io solana_rbpf >= 0.8.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 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.