CVE-2021-46102: From version 0.2.14 to 0.2.16 for Solana rBPF, function "relocate" in the file src/elf.rs has an integer overf
CVE-2021-46102 is a high-severity flaw (CVSS 7.5) affecting rbpf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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";
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.9% (top 21%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2022-01-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-46102?
rbpf: upgrade to newer than 0.2.16. Exact commands for each OS are on this page.
Is CVE-2021-46102 being exploited?
CVE-2021-46102 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-46102 affect?
CVE-2021-46102 affects rbpf. Severity is high (CVSS 7.5). 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
How urgent is CVE-2021-46102?
Priority 56/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-31264 HIGH 7.5 UPGRADE Solana solana_rbpf before 0.2.29 has an addition integer overflow via invalid ELF program headers
- CVE-2022-23066 CRITICAL 9.1 DOWNGRADE In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper im