CVE-2022-32234

Source
https://cve.org/CVERecord?id=CVE-2022-32234
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32234.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-32234
Published
2022-10-11T01:15:08.893Z
Modified
2026-04-12T02:56:55.179573Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An out of bounds write in hermes, while handling large arrays, prior to commit 06eaec767e376bfdb883d912cb15e987ddf2bda1 allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

References

Affected packages

Git / github.com/facebook/hermes

Affected ranges

Type
GIT
Repo
https://github.com/facebook/hermes
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.12.0"
        }
    ]
}

Affected versions

hermes-2022-04-28-RNv0.*
hermes-2022-04-28-RNv0.69.0-15d07c2edd29a4ea0b8f15ab0588a0c1adb1200f
hermes-2022-07-15-RNv0.*
hermes-2022-07-15-RNv0.70.0-88dd5731a19ab6b38b0a0a2d4386ba959f2a2c98
v0.*
v0.1.0
v0.1.1
v0.10.0
v0.11.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32234.json"
vanir_signatures_modified
"2026-04-12T02:56:55Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 522.0,
            "function_hash": "253189510533086805087783480300989181997"
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-9597e76a",
        "signature_type": "Function",
        "target": {
            "function": "SmallVectorBase::grow_pod",
            "file": "external/llvh/lib/Support/SmallVector.cpp"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 581.0,
            "function_hash": "48123351170391304353321702620001144785"
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-abe6703f",
        "signature_type": "Function",
        "target": {
            "function": "grow",
            "file": "external/llvh/include/llvh/ADT/SmallVector.h"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "192843654680290664668689812012615394418",
                "128708908882130193250636643319471079976",
                "46035457216074894185967552258866082545",
                "296687577260170667837862499962458531899",
                "281071268308224590619057480106192462470",
                "61942069343023427340103315716237887113",
                "113945020252159984935031683854396799232",
                "332736716430080952626776564668483913516"
            ]
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-bdc2cc93",
        "signature_type": "Line",
        "target": {
            "file": "external/llvh/lib/Support/SmallVector.cpp"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "152218726929742603056274588617079760462",
                "273543411923646877829988890171938985669",
                "306552367279952607915074168194677652365",
                "147905964317093621609574812653590542205",
                "144486398886999229798266066265911416691",
                "142532597581357533135503929773762349263",
                "167179976335230148264290389137457076872"
            ]
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-db4a561a",
        "signature_type": "Line",
        "target": {
            "file": "external/llvh/include/llvh/ADT/SmallVector.h"
        }
    }
]