LOW3.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:
0No fixed version published yet for torch (pip). Pin to a known-safe version or switch to an alternative.