CVE-2025-54949

Source
https://cve.org/CVERecord?id=CVE-2025-54949
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54949.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54949
Aliases
Published
2025-08-07T22:58:23.290Z
Modified
2026-07-22T04:02:24.211759Z
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

A heap buffer overflow vulnerability in the loading of ExecuTorch models can potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit ede82493dae6d2d43f8c424e7be4721abe5242be

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54949.json",
    "cna_assigner": "facebook",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "https://github.com/pytorch/executorch/commit/ede82493dae6d2d43f8c424e7be4721abe5242be"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/pytorch/executorch

Affected ranges

Type
GIT
Repo
https://github.com/pytorch/executorch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

Other
ciflow/binaries/all/sdym
ciflow/binaries/sdym
stable-2023-08-01
stable-2023-08-15
stable-2023-08-29
stable-2023-09-12
stable-2023-09-19
v0.*
v0.1.0-rc1
v0.2.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54949.json"
vanir_signatures_modified
"2026-07-22T04:02:24Z"
vanir_signatures
[
    {
        "digest": {
            "line_hashes": [
                "121957020323574689823480903042459142624",
                "125409210904276051776607744241352589641",
                "248581585591437385727220559296329969777",
                "267202912623442923288967475940123529305",
                "304512569008727939823753154613325456522",
                "6873608077481612929761107008845638520",
                "79334496597976305191092111138872914180",
                "292295362670652589352400647204328365926",
                "195741744102147691126489124387700975679",
                "205575496570499494708481404256398884770",
                "35118489198705453247619660972459536691",
                "112145048938924144115260822311632888689",
                "128826397511722976224809354850155921767"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-54949-61d493e1",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/pytorch/executorch/commit/ede82493dae6d2d43f8c424e7be4721abe5242be",
        "signature_type": "Line",
        "target": {
            "file": "kernels/prim_ops/et_copy_index.cpp"
        }
    },
    {
        "digest": {
            "function_hash": "11239499256523041173111659413912133085",
            "length": 1377.0
        },
        "id": "CVE-2025-54949-b0eefa0e",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/pytorch/executorch/commit/ede82493dae6d2d43f8c424e7be4721abe5242be",
        "signature_type": "Function",
        "target": {
            "function": "TEST_F",
            "file": "kernels/prim_ops/test/prim_ops_test.cpp"
        }
    },
    {
        "digest": {
            "function_hash": "326758178295538584534296223607143889913",
            "length": 1244.0
        },
        "id": "CVE-2025-54949-b509a731",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/pytorch/executorch/commit/ede82493dae6d2d43f8c424e7be4721abe5242be",
        "signature_type": "Function",
        "target": {
            "function": "et_copy_index",
            "file": "kernels/prim_ops/et_copy_index.cpp"
        }
    },
    {
        "digest": {
            "line_hashes": [
                "331899867184051566556417119445650164055",
                "340066840568919290711097351350325941393",
                "60625375708031533590759083702613162004",
                "279921325556351828765117719379543979449"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-54949-f4e8e0bd",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/pytorch/executorch/commit/ede82493dae6d2d43f8c424e7be4721abe5242be",
        "signature_type": "Line",
        "target": {
            "file": "kernels/prim_ops/test/prim_ops_test.cpp"
        }
    }
]