CVE-2025-63396 Denial of service in n/a
Attackers can cause a Denial of Service in PyTorch by omitting profiler.stop(), leading to crashes or hangs during finalization.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-63396?
CVE-2025-63396 is a low-severity denial of service vulnerability in n/a, published on 12 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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).
Weakness: CWE-667
Which versions are affected by CVE-2025-63396?
2 open source packages ship an affected version, including pytorch and torch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pytorch Bitnami | From 2.5.0 | 2.5.1, 2.8.0 |
torch PyPI | All versions to 2.5.0-NA | None |
Products include Linuxfoundation Pytorch.
How do I fix CVE-2025-63396?
Upgrade pytorch to a fixed version for your release line: 2.5.1 or 2.8.0.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-63396 being exploited?
There is no known exploitation of CVE-2025-63396 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2024-48063 Deserialization in n/a
- CVE-2022-45907 PyTorch vulnerable to arbitrary code execution
- CVE-2025-32434 PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
- CVE-2026-24747 PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
- CVE-2024-31583 Pytorch use-after-free vulnerability
Sources
Also known as BIT-pytorch-2025-63396, DEBIAN-CVE-2025-63396, ECHO-00c5-1dba-56e8, GHSA-3w6q-rqw9-h6qx, PYSEC-2025-210, UBUNTU-CVE-2025-63396.