{"cve":"CVE-2021-46102","nvd":{"published":"2022-01-27T18:15:07.770","modified":"2026-06-17T04:14:32.753","status":"Modified","description":"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\";","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-190"],"references":["https://blocksecteam.medium.com/new-integer-overflow-bug-discovered-in-solana-rbpf-7729717159ee","https://github.com/solana-labs/rbpf/blob/c14764850f0b83b58aa013248eaf6d65836c1218/src/elf.rs#L609-L630","https://github.com/solana-labs/rbpf/pull/200","https://github.com/solana-labs/rbpf/pull/236","https://blocksecteam.medium.com/new-integer-overflow-bug-discovered-in-solana-rbpf-7729717159ee"],"products":["solanalabs:rbpf"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2021-46102","score":0.01872,"percentile":0.79367,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xwqr-xmgg-j69q","url":"https://osv.dev/vulnerability/GHSA-xwqr-xmgg-j69q","summary":"Integer overflow in solana_rbpf","modified":"2023-11-08T04:07:25.094752Z","packages":[{"ecosystem":"crates.io","name":"solana_rbpf","purl":"pkg:cargo/solana_rbpf","ranges":[">=0.2.14 <0.2.17"],"fixed":["0.2.17"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}