Skip to content
Submit incident
AII-1001-87053
Well documentedThree or more independent publishers report the core facts.

PyTorch torch.lstm_cell segmentation fault with empty tensors

A segmentation fault occurs in PyTorch's torch.lstm_cell function when called with empty input tensors, discovered through fuzzing. CVE-2025-3001 was assigned to this issue.

20 March 2025 Β· PyTorch Β· Security and cyberattacks
20 March 2025
AII-1001-870533 sources ↓
Quick facts
Organization
PyTorch (subject)
Category
Security and cyberattacks
Source
github.com
Date
20 March 2025
Drafted by
Raidu Incident Detection

What happened

A segmentation fault occurs in PyTorch version 2.6.0 when torch.lstm_cell is called with empty input tensors and specific weight parameters.

The issue was discovered through fuzzing and reported on March 20, 2025. CVE-2025-3001 was assigned on April 1, 2025.

Classification

Organization
PyTorch (subject)
Category
Security and cyberattacks
Intent
Unintentional
Timing
Unknown
AI systems
torch.lstm_cell

Sources and evidence

This record was researched and written by the Index, based on the following original reporting.

github.com
https://github.com/pytorch/pytorch/issues/149626
vuldb.com
https://vuldb.com/?id.302050
cve.org
NVD entry