CVE-2022-23066
CRITICAL 9.1CVSS 3.1Incorrect Calculation in solana_rbpf
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.
- Published
- 9 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-682
- Also known as
- GHSA-9qmm-4mfr-r3wj
- Sources
- NVDJSONOSV GHSA-9qmm-4mfr-r3wjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnerabilitylab@mend.io (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | solana | rbpfcpe:2.3:a:solana:rbpf:0.2.26:*:*:*:*:*:*:* |
= 0.2.26 | |
| NVD | solana | rbpfcpe:2.3:a:solana:rbpf:0.2.27:*:*:*:*:*:*:* |
= 0.2.27 | |
| OSV | crates.io | solana_rbpf | >= 0.2.26, < 0.2.28 | 0.2.28 |
References
- https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324 · Exploit, Third Party Advisory, WEB
- https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297 · Patch, Third Party Advisory, WEB
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23066 · ADVISORY
- https://github.com/solana-labs/rbpf · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 9 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 May 2022)