{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-23066","id":"CVE-2022-23066","title":"Solana rBPF - Incorrect Calculation in sdiv instruction","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 pro","descriptionLong":"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":"2022-05-09T06:25:09.088Z","updated":"2026-10-28T02:31:02.946809572Z","reserved":"2022-01-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Mend","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"Mend"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"Mend"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"mend.io"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"critical","products":["solana-labs rbpf"],"affectedProducts":[{"vendor":"solana-labs","product":"rbpf","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"affected","version":"0.2.26","versionType":"custom"},{"lessThanOrEqual":"0.2.27","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"solana_rbpf","purl":"pkg:cargo/solana_rbpf","ranges":[">=0.2.26 <0.2.28"],"fixed":["0.2.28"],"advisory":"GHSA-9qmm-4mfr-r3wj"}],"cwes":["CWE-682"],"aliases":["GHSA-9qmm-4mfr-r3wj"],"references":[{"url":"https://github.com/solana-labs/rbpf/commit/e61e045f8c244de978401d186dcfd50838817297","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23066","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://blocksecteam.medium.com/how-a-critical-bug-in-solana-network-was-detected-and-timely-patched-a701870e1324","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23066.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23066","tags":["advisory"]},{"url":"https://github.com/solana-labs/rbpf","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02516,"epssPercentile":0.85167,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-23066","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23066","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-23066","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9qmm-4mfr-r3wj","ok":true,"note":"GHSA-9qmm-4mfr-r3wj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-23066","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}