LOW 3.3
PYSEC-2025-210
Details
An issue was discovered in PyTorch v2.5 and v2.7.1. Omission of profiler.stop() can cause torch.profiler.profile (PythonTracer) to crash or hang during finalization, leading to a Denial of Service (DoS).
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / torch
Introduced in:
0 No fixed version published yet for torch (pip). Pin to a known-safe version or switch to an alternative.
References
- http://pytorch.com [WEB]
- https://github.com/Daisy2ang [WEB]
- https://github.com/pytorch/pytorch/issues/156563 [REPORT]
- https://github.com/pytorch/pytorch [PACKAGE]