# CVE-2022-23066: Incorrect Calculation in solana_rbpf

Source: https://junglewise.ai/threats/cve-2022-23066-incorrect-calculation-in-solana-rbpf  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-10  
License: CC BY 4.0 with a link back

CVE-2022-23066 · Severity: low · CVSS 3.1 · Published 2022-05-10

Incorrect Calculation in solana_rbpf

Technologies: [solana_rbpf (crates.io)](https://junglewise.ai/threats/technologies/solana-rbpf). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2022-23066 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-23066 being exploited in the wild.

**How severe is CVE-2022-23066?** Low severity, with a CVSS score of 3.1, published 10 May 2022.

**Which products and versions are affected?** solana_rbpf (crates.io) SEMVER:introduced=0.2.26,fixed=0.2.28.

**Is there a fix for CVE-2022-23066?** Yes. solana_rbpf (crates.io): upgrade to 0.2.28 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-23066?** Check whether you run solana_rbpf (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- solana_rbpf (crates.io): upgrade to 0.2.28 or later

  ```sh
  cargo update -p solana_rbpf
  ```


## Affected products

- solana_rbpf (crates.io) SEMVER:introduced=0.2.26,fixed=0.2.28

## Identifiers

- CVE-2022-23066
- GHSA-9qmm-4mfr-r3wj

## Related threats

- [RUSTSEC-2026-0191 - `EbpfVm::invoke_function` performs out-of-bounds pointer arithmetic](https://junglewise.ai/threats/rustsec-2026-0191-ebpfvm-invoke-function-performs-out-of-bounds-pointer-d43cbd6a)
- [Integer overflow in solana_rbpf](https://junglewise.ai/threats/cve-2022-31264-integer-overflow-in-solana-rbpf)
- [Integer overflow in solana_rbpf](https://junglewise.ai/threats/cve-2021-46102-integer-overflow-in-solana-rbpf)
