Skip to content

torch

12 advisories in the AI Sec Watch database name torch (PyPI). No LLM component dependency is recorded for torch (PyPI). The most recent advisory that names torch and states a fix gives 2.6.0.

Tensors and Dynamic neural networks in Python with strong GPU acceleration

PyPILatest 2.15.0First release 2018-12-07Registry pageRepositoryChecked 2026-11-21

Advisories

Advisories that name torch as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.

Time to fix: a median of +65 days from disclosure to the release of the fixed version, over 8 advisories with a dated fix (fastest −79, slowest +464 days). A negative count means the fix was released before the advisory's disclosure date.

AdvisorySeverityAffectedFixed inFix releasedPublished
CVE-2025-32434PyTorch remote command execution when loading models with torch.loadCritical< 2.6.02.6.02025-01-29 (−79 d)2025-04-18
CVE-2025-3730PyTorch denial of service in ctc_loss via local manipulationLow<= 2.7.12.8.02025-08-06 (+111 d)2025-04-17
CVE-2025-3001PyTorch memory corruption in torch.lstm_cell reachable locallyMedium< 2.10.02.10.02026-01-21 (+296 d)2025-03-31
CVE-2025-3000PyTorch memory corruption in torch.jit.script reachable from the local hostMedium<= 2.12.12.13.02026-07-08 (+464 d)2025-03-31
CVE-2025-2999PyTorch memory corruption in torch.nn.utils.rnn.unpack_sequenceMedium< 2.9.12.9.12025-11-12 (+226 d)2025-03-31
CVE-2025-2998PyTorch memory corruption in pad_packed_sequence via local accessMedium<= 2.6.02025-03-31
CVE-2025-2953PyTorch denial of service in torch.mkldnn_max_pool2d functionLow< 2.7.1-rc12.7.1-rc12025-03-30
CVE-2025-2149PyTorch improper initialization in quantized Sigmoid moduleLow<= 2.6.02025-03-10
CVE-2025-2148PyTorch memory corruption in torch.ops.profiler._call_end_callbacks_on_jit_futMedium<= 2.6.02025-03-10
CVE-2024-31583Pytorch use-after-free vulnerability in mobile interpreterHigh< 2.2.02.2.02024-01-30 (−78 d)2024-04-17
CVE-2024-31580PyTorch heap buffer overflow in vararg functions causes denial of serviceMedium< 2.2.02.2.02024-01-30 (−78 d)2024-04-17
CVE-2022-45907PyTorch arbitrary code execution through parse_type_line type annotation parsingCritical<= 1.13.01.13.12022-12-15 (+19 d)2022-11-26

Dependencies of the latest release

As declared in PyPI metadata for version 2.15.0. Optional extras are listed with their extra name.

Tracked packages that depend on it

Among the packages in the registry; not every dependent on PyPI.