{"answers":{"affected":"1 open source package ship an affected version, including solana_rbpf.","exploited":"There is no known exploitation of RUSTSEC-2026-0191 in the wild and no public exploit code.","fix":"No fix has been published for RUSTSEC-2026-0191 yet. Limit exposure of the affected software until one is available.","what":"RUSTSEC-2026-0191 is a memory corruption vulnerability in solana_rbpf, published on 28 May 2026."},"fix_prompt":"Check this codebase for RUSTSEC-2026-0191 and fix it if it is affected.\n\nWhat it is: RUSTSEC-2026-0191 is a memory corruption vulnerability in solana_rbpf, published on 28 May 2026. \nExploitation: There is no known exploitation of RUSTSEC-2026-0191 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- solana_rbpf (crates.io): affected from 0.8.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/RUSTSEC-2026-0191/ (Markdown: https://insights.sbomify.com/RUSTSEC-2026-0191/index.md)","id":"RUSTSEC-2026-0191","markdown":"https://insights.sbomify.com/RUSTSEC-2026-0191/index.md","name":"RUSTSEC-2026-0191","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"end_of_life","impacts":["code_execution","denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust eBPF VM library","requires_auth":"none","summary":"Out-of-bounds pointer arithmetic in solana_rbpf can cause undefined behavior, potentially leading to code execution or crashes; users should migrate to solana-sbpf.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Affected versions of `solana_rbpf` expose the safe method\n`EbpfVm::invoke_function`. This method computes an obfuscated VM pointer by\ncasting `self` to `*mut u64` and applying a randomized offset derived from\n`get_runtime_environment_key()`.\n\nThe resulting pointer arithmetic is performed with `ptr::offset`, which\nrequires the computed pointer to remain within the same allocation. In practice,\nthe randomized offset can move the pointer far outside the allocation\ncontaining the `EbpfVm`, causing undefined behavior before the supplied builtin\nfunction is invoked.\n\n## Unmaintained\n\nThe upstream `solana_rbpf` repository is archived, and no patched version of\nthis crate is currently available.\n\nUsers should migrate to the maintained [`solana-sbpf`](https://crates.io/crates/solana-sbpf)\ncrate. The issue has been fixed there in\n[`anza-xyz/sbpf#151`](https://github.com/anza-xyz/sbpf/pull/151).","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"`EbpfVm::invoke_function` performs out-of-bounds pointer arithmetic","id":"RUSTSEC-2026-0191","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0.8.0"],"last_affected":[],"package":"solana_rbpf","purl":"pkg:cargo/solana_rbpf","source":"RUSTSEC-2026-0191"}],"products":null,"published":"2026-05-28","related":[],"sources":[{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Out-of-bounds pointer arithmetic in solana_rbpf can cause undefined behavior, potentially leading to code execution or crashes; users should migrate to solana-sbpf.","url":"https://insights.sbomify.com/RUSTSEC-2026-0191/"}