CVE-2022-36938

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-36938
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-36938.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-36938
Published
2022-11-11T00:15:10.193Z
Modified
2025-11-14T13:32:57.446630Z
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

DexLoader function getstringidxfromdex() in Redex prior to commit 3b44c64 can load an out of bound address when loading the string index table, potentially allowing remote code execution during processing of a 3rd party Android APK file.

References

Affected packages

Git / github.com/facebook/redex

Affected ranges

Type
GIT
Repo
https://github.com/facebook/redex
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.1.0

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "source": "https://github.com/facebook/redex/commit/3b44c640346b77bfb7ef36e2413688dd460288d2",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-36938-b64dfaa4",
        "digest": {
            "line_hashes": [
                "177910661925181941752688148644438945393",
                "249220321442325309033942983871564946740",
                "187854720454391115907995214234916729570",
                "104253921962812185286245934959302245729",
                "181986475796517449553315829491872791399",
                "314879030129633176182008407230254154162",
                "95845696118994499748079908062571616971",
                "165383393234662988824599750142236456709",
                "337006233898131201948608113667587183889",
                "320276635355040413562090943046278799634",
                "191126501076420063077693187672972407318"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "libredex/DexLoader.cpp"
        }
    },
    {
        "signature_type": "Function",
        "source": "https://github.com/facebook/redex/commit/3b44c640346b77bfb7ef36e2413688dd460288d2",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-36938-d3c57609",
        "digest": {
            "length": 1039.0,
            "function_hash": "292464291331006992722555593385468323157"
        },
        "target": {
            "file": "libredex/DexLoader.cpp",
            "function": "validate_dex_header"
        }
    }
]