# CVE-2022-31264: Integer overflow in solana_rbpf

Source: https://junglewise.ai/threats/cve-2022-31264-integer-overflow-in-solana-rbpf  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-22  
License: CC BY 4.0 with a link back

CVE-2022-31264 · Severity: low · CVSS 3.1 · Published 2022-05-22

Integer overflow 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-31264 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-31264 being exploited in the wild.

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

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

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

**Am I affected by CVE-2022-31264?** 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.29 or later

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


## Affected products

- solana_rbpf (crates.io) SEMVER:introduced=0,fixed=0.2.29

## Identifiers

- CVE-2022-31264
- GHSA-ffx3-8qvm-pq3j

## 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)
- [Incorrect Calculation in solana_rbpf](https://junglewise.ai/threats/cve-2022-23066-incorrect-calculation-in-solana-rbpf)
- [Integer overflow in solana_rbpf](https://junglewise.ai/threats/cve-2021-46102-integer-overflow-in-solana-rbpf)
