PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
[
{
"id": "CVE-2024-31580-32e4346e",
"source": "https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81",
"target": {
"function": "tupleConstruct",
"file": "torch/csrc/jit/runtime/vararg_functions.cpp"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "177212597411118124202478742030508243218",
"length": 1070.0
},
"signature_type": "Function"
},
{
"id": "CVE-2024-31580-65aa6a70",
"source": "https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81",
"target": {
"file": "torch/csrc/jit/runtime/vararg_functions.cpp"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"122402175758227357894067518701770309718",
"148624457286558011395772266585298619984",
"264756394319484961386458264875539426314",
"204288781394093359214353439803224706057"
],
"threshold": 0.9
},
"signature_type": "Line"
}
]