Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31583.json"
[
{
"deprecated": false,
"id": "CVE-2024-31583-aad0f3a9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"171281326269689921682436190839311291909",
"121189681070032044894008676224246023172",
"104354271034547263340410601184272323230"
]
},
"signature_version": "v1",
"target": {
"file": "torch/csrc/jit/mobile/interpreter.cpp"
},
"source": "https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2",
"signature_type": "Line"
},
{
"deprecated": false,
"id": "CVE-2024-31583-d97f5c85",
"digest": {
"length": 5454.0,
"function_hash": "60056572103566064283522839713397962286"
},
"signature_version": "v1",
"target": {
"function": "InterpreterState::run",
"file": "torch/csrc/jit/mobile/interpreter.cpp"
},
"source": "https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2",
"signature_type": "Function"
}
]