Skip to content

CVE-2022-23066 Solana rBPF - Incorrect Calculation in sdiv instruction

CriticalCVSS 9.1 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known

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 problems.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
solana-labs rbpf <= 0.2.27; >= 0.2.26 after 0.2.27 Partially fixed
crates.io solana_rbpf(crates.io) >= 0.2.26, < 0.2.28 0.2.28 Fixed
solana rbpf = 0.2.26; = 0.2.27 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io solana_rbpf(crates.io) >= 0.2.26, < 0.2.28 0.2.28
solana-labs rbpf >= 0.2.26 No fix listed
solana-labs rbpf <= 0.2.27 No fix listed
solana rbpf = 0.2.26 No fix listed
solana rbpf = 0.2.27 No fix listed

References