{"id":"PYSEC-2025-195","details":"A vulnerability classified as critical was found in PyTorch 2.6.0. This vulnerability affects the function torch.lstm_cell. The manipulation leads to memory corruption. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.","aliases":["BIT-pytorch-2025-3001","CVE-2025-3001"],"modified":"2026-05-21T15:00:31.778544239Z","published":"2025-03-31T16:15:27.277Z","references":[{"type":"ADVISORY","url":"https://vuldb.com/?id.302050"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.524212"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/149626"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/149626#issue-2935860995"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.302050"}],"affected":[{"package":{"name":"torch","ecosystem":"PyPI","purl":"pkg:pypi/torch"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.6.0-NA"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2025-195.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}