Live threats

All CVEs / Solanalabs

CVE-2021-46102Solanalabs Rbpf

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Jan 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

From version 0.2.14 to 0.2.16 for Solana rBPF, function "relocate" in the file src/elf.rs has an integer overflow bug because the sym.st_value is read directly from ELF file without checking. If the sym.st_value is rather large, an integer overflow is triggered while calculating the variable "addr" via "addr = (sym.st_value + refd_pa) as u64";

Original NVD text.

What to do

  1. Apply the vendor's security update for Rbpf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io solana_rbpf ≥ 0.2.14 < 0.2.17 0.2.17 cargo update -p solana_rbpf --precise 0.2.17

Per OSV / GitHub Advisories (GHSA-xwqr-xmgg-j69q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
solanalabsrbpf≥ 0.2.14 ≤ 0.2.16

Official sources

References

Links published by the sources. Open them with care.