{"id":"CVE-2022-23066","published":"2022-05-09T06:25:09Z","modified":"2024-09-16T17:53:00Z","title":"Solana rBPF - Incorrect Calculation in sdiv instruction","vendor":"solana-labs","product":"rbpf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02516,"percentile":0.85208,"provenance":"source"},"cwes":[{"id":"CWE-682","name":"Incorrect Calculation"}],"references":[{"url":"https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297","tags":["x_refsource_MISC"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066","tags":["x_refsource_MISC"]},{"url":"https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324","tags":["x_refsource_MISC"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":17.04},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"solana-labs","affectedVersions":[{"vendor":"solana-labs","product":"rbpf","versions":[">= 0.2.26, < unspecified",">= unspecified, <= 0.2.27"]}],"solutions":{"items":["Upgrade version to 0.2.28 or higher"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"solana_rbpf","vulnerableRanges":[">=0.2.26, <0.2.28"],"patched":["0.2.28"],"from":["GHSA-9qmm-4mfr-r3wj"],"provenance":"source"}],"summary":{"text":"Solana rBPF versions 0.2.26 and 0.2.27 contain an incorrect calculation flaw in the implementation of the sdiv (signed division) instruction, causing programs run by the rBPF virtual machine to take the wrong execution path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:53Z"},"euvd":{"id":"EUVD-2022-3433","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-46102","published":"2022-01-27","fixed":"0.2.17","kev":false},{"cve":"CVE-2022-23066","published":"2022-05-09","fixed":"0.2.28","kev":false},{"cve":"CVE-2022-31264","published":"2022-05-21","fixed":"0.2.29","kev":false,"link":{"from":"CVE-2022-23066","to":"CVE-2022-31264","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:solana_rbpf","fromFixed":"0.2.28","toFixed":"0.2.29","daysApart":12}]}}],"package":"crates.io:solana_rbpf"}}