CVE-2022-23066 json
Solana rBPF - Incorrect Calculation in sdiv instruction
published 2022-05-09 4 y ago modified 2026-06-17 4 mo ago also GHSA-9qmm-4mfr-r3wj , EUVD-2022-3433
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
2.52% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- whitesourcesoftware.com https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066 referenced PoC, tagged "exploit" by a source, unverified
- blocksecteam.medium.com https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | solana_rbpf | >=0.2.26, <0.2.28 |
0.2.28 |
Affected products
- solana-labs rbpf
Classification
- Weakness
-
- CWE-682 Incorrect Calculation
References
-
github.com
/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297
web, patch, third-party-advisory
-
whitesourcesoftware.com
/vulnerability-database/CVE-2022-23066
web, exploit, third-party-advisory
-
blocksecteam.medium.com
/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23066
advisory
-
github.com
/solana-labs/rbpf
package
Sources
- CVE List CVE-2022-23066
- GitHub Advisory GHSA-9qmm-4mfr-r3wj
- NVD CVE-2022-23066
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.