Skip to content
PyTorchPYSEC-2025-210

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

Low3.3CVE-2025-63396 · Published Nov 12, 2025 · updated May 21, 2026

Source advisory

Affected versions

PackageAffectedFixed in
torch
PyPI
<= 2.5.0-NANo fix yet
<= 2.7.1-NANo fix yet
Details and references

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

CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Severity from
the CVSS score
Also known as
BIT-pytorch-2025-63396, CVE-2025-63396

More PyTorch advisories

All PyTorch

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.