torch
Affected
- introduced
0, fixed2.9.1(ecosystem)
Fixed versions
2.9.1
Fix
- Fixed version
2.9.1pip install --upgrade torch==2.9.1
Advisory
Also known as: BIT-pytorch-2025-2999, CVE-2025-2999, PYSEC-2025-193
PyTorch is vulnerable to memory corruption through its unpack_sequence function
A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.
A patch is available through commit 4945180.
Medium Basis: The source's own band: MODERATE
0, fixed 2.9.1 (ecosystem)2.9.1
2.9.1pip install --upgrade torch==2.9.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0