CVE-2022-23066

Solana rBPF - Incorrect Calculation in sdiv instruction

State
Published
Severity
9.1 Critical
Published
May 9, 2022
Updated
Sep 16, 2024
Reserved
Jan 10, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HMend

Weaknesses

Affected Products

ProductVersions
rbpfsolana-labs
  • 0.2.26 to before unspecifiedAffected
  • 0.2.27 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.