CVE-2025-3136: PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption

3.3 CVSS

Description

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0. This issue affects the function torch.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. The manipulation leads to memory corruption. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. Eine Schwachstelle wurde in PyTorch 2.6.0 entdeckt. Sie wurde als problematisch eingestuft. Es geht hierbei um die Funktion torch.cuda.memory.caching_allocator_delete der Datei c10/cuda/CUDACachingAllocator.cpp. Mit der Manipulation mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Umgesetzt werden muss der Angriff lokal. Der Exploit steht zur öffentlichen Verfügung.

Classification

CVE ID: CVE-2025-3136

CVSS Base Severity: LOW

CVSS Base Score: 3.3

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Problem Types

Memory Corruption

Affected Products

Vendor: n/a

Product: PyTorch

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 2.7% (scored less or equal to compared to others)

EPSS Date: 2025-05-02 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-3136
https://vuldb.com/?id.303041
https://vuldb.com/?ctiid.303041
https://vuldb.com/?submit.525252
https://github.com/pytorch/pytorch/issues/149821
https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086
https://github.com/pytorch/pytorch/issues/149821#issue-2940838975

Timeline