CVE-2025-54951

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-54951
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-54951.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-54951
Aliases
Published
2025-08-07T23:15:26.713Z
Modified
2025-11-17T04:04:11.343690Z
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 group of related buffer overflow vulnerabilities in the loading of ExecuTorch models can cause the runtime to crash and potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit cea9b23aa8ff78aff92829a466da97461cc7930c.

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

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

vanir_signatures

[
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "70657680742118056363861746971916495693",
            "length": 2702.0
        },
        "id": "CVE-2025-54951-2617babe",
        "target": {
            "file": "runtime/executor/tensor_parser_portable.cpp",
            "function": "parseTensor"
        },
        "source": "https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "224928593880561869846070578067810275519",
                "240543869336225347340831625198115302181",
                "241427249866267962502012502970555237421",
                "139849032345911037092933887399244204789",
                "8428812563860683456259216216943564300",
                "279044381482919635398050535631142093543",
                "179151029084254662779707308239915044542"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-54951-72f52f1b",
        "target": {
            "file": "runtime/executor/tensor_parser_portable.cpp"
        },
        "source": "https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "89893370676549802340356288978603438175",
            "length": 2070.0
        },
        "id": "CVE-2025-54951-9adba138",
        "target": {
            "file": "runtime/executor/tensor_parser_aten.cpp",
            "function": "parseTensor"
        },
        "source": "https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "125039678390203040802080730225756099814",
                "241427249866267962502012502970555237421",
                "139849032345911037092933887399244204789",
                "146301707898574952508755783112266290740",
                "221108239385796983507941345773378766297",
                "48665207304957942159833918716386967077"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-54951-ed7bbb47",
        "target": {
            "file": "runtime/executor/tensor_parser_aten.cpp"
        },
        "source": "https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c",
        "deprecated": false,
        "signature_version": "v1"
    }
]