CVE-2025-63396 Denial of service in n/a

Low 3.3 Published Updated

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.

PackageAffectedFixed in
pytorch BitnamiFrom 2.5.02.5.1, 2.8.0
torch PyPIAll versions to 2.5.0-NANone

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.

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.

Is CVE-2025-63396 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free