An issue was discovered in PyTorch v2.5 and v2.7.1. (CVE-2025-63396)
Description
A vulnerability in PyTorch versions 2.5.0 up to but not including 2.5.1, and 2.7.1 up to but not including 2.8.0, allows a denial of service condition. The issue occurs when the profiler.stop() function is omitted, causing the torch.profiler.profile (PythonTracer) to crash or hang during finalization.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In PyTorch versions >=2.5.0 <2.5.1 and >=2.7.1 <2.8.0, omission of the profiler.stop() call can cause the torch.profiler.profile (PythonTracer) to crash or hang during the finalization phase. This behavior leads to a denial of service (DoS) condition by disrupting normal operation of the profiling feature.
Potential Impact
The impact is limited to denial of service, where the affected PyTorch profiler component may crash or hang, potentially interrupting application workflows that rely on profiling. There is no indication of code execution or data compromise.
Mitigation Recommendations
A patch is available for this issue. Users should upgrade to versions 2.5.1 or later in the 2.5.x series, or 2.8.0 or later in the 2.7.x series to remediate this vulnerability. Applying the official fix will prevent the denial of service caused by omission of profiler.stop().
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-pytorch-2025-63396
- Osv Schema Version
- 1.6.2
- Aliases
- CVE-2025-63396
- Ecosystems
- Bitnami
- Database Specific Severity
- Low
Threat ID: 6aa005c7acd9273b49ab5c7c
Added to database: 09/08/2026, 12:55:35 UTC
Last enriched: 09/08/2026, 13:21:18 UTC
Last updated: 10/24/2026, 08:45:09 UTC
Views: 53
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.