What’s Vulnerable › Vulnerabilities
CVE-2022-23066: Solana rBPF - Incorrect Calculation in sdiv instruction
- Severity: medium (CVSS 6.4 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-09 · updated 2026-06-17
- Weakness: CWE-682
Description
In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a sdiv instruction may decide whether to transfer tokens or not. The vulnerability affects both integrity and may cause serious availability problems.
Affected products
- solana-labs rbpf: 0.2.26, 0.2.27
References
- https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324
- https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066
- https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324
- https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066
Get alerted when CVE-2022-23066 or the next vulnerability affects your stack