Buffer overflow in PyTorch - CVE-2025-3136
Published: May 12, 2025
Vulnerability identifier: #VU108932
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-3136
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to cause memory corruption.
The vulnerability exists in the function torch.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. A local user can trigger the vulnerability to cause memory corruption.
Affected software
PyTorch
Maximo Application Suite Ai Service
Maximo Application Suite Ai Service
How to mitigate CVE-2025-3136
Install updates from vendor's website.
PyTorch - update to 2.7.0
Maximo Application Suite Ai Service - update to 9.0.6
Maximo Application Suite Ai Service - update to 9.0.6
External References
- https://github.com/ARPANET-cybersecurity/vuldb/issues/2
- https://github.com/pytorch/pytorch/issues/149821
- https://github.com/pytorch/pytorch/issues/149821#issue-2940838975
- https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086
- https://vuldb.com/?ctiid.303041
- https://vuldb.com/?id.303041
- https://vuldb.com/?submit.525252