Skip to main content
← All vulnerabilities
CVE-2022-23066GHSA-9QMM-4MFR-R3WJ

Solana rBPF - Incorrect Calculation in sdiv instruction

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.28
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • solana-labs rbpf

    From 0.2.26; through 0.2.27

  • solana_rbpfcrates.io

    From 0.2.26 · fixed in 0.2.28

References 3

GitHub · solana-labs/rbpf

whitesourcesoftware.com

blocksecteam.medium.com