ADVISORIES

PyPA Advisory Database

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).

Affected packages

EcosystemPackageAffected versions
PyPItorch
All versions up to and including 2.5.0-NA
All versions up to and including 2.7.1-NA

References