CVE-2021-46102Solanalabs Rbpf
High 7.5 No auth needed
Follow: this CVE · Solanalabs · Solanalabs Rbpf We alert you by email or Slack (account required).
- 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";
What to do
- Apply the vendor's security update for Rbpf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| solanalabs | rbpf | ≥ 0.2.14 ≤ 0.2.16 |
Official sources
References
Links published by the sources. Open them with care.
- blocksecteam.medium.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory