CVE-2022-23066

Source
https://cve.org/CVERecord?id=CVE-2022-23066
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23066.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23066
Aliases
Published
2022-05-09T06:25:09.088Z
Modified
2026-07-15T01:48:52.088518463Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Solana rBPF - Incorrect Calculation in sdiv instruction
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-682"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23066.json",
    "cna_assigner": "Mend"
}
References

Affected packages

Git / github.com/solana-labs/rbpf

Affected ranges

Type
GIT
Repo
https://github.com/solana-labs/rbpf
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:solana:rbpf:0.2.26:*:*:*:*:*:*:*",
        "cpe:2.3:a:solana:rbpf:0.2.27:*:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0.2.26"
        },
        {
            "last_affected": "0.2.26"
        },
        {
            "introduced": "0.2.27"
        },
        {
            "last_affected": "0.2.27"
        }
    ]
}

Affected versions

0.*
0.2.26
0.2.27
v0.*
v0.2.26
v0.2.27

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23066.json"