PYSEC-2025-210: Low severity PyTorch PyTorch vulnerability

Published Nov 12, 2025
·
Updated

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 Software

1 affected component
PyTorch PyTorch=2.5, =2.7.1

Event History

Nov 12, 2025
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What access does an attacker need to trigger this issue?

The reported CVSS vector requires local access and low privileges. Exploitation does not require user interaction, but it depends on the affected profiler finalization path being reached without profiler.stop().

2

What is the practical impact of successful exploitation?

The impact is denial of service: torch.profiler.profile using PythonTracer can crash or hang during finalization. The supplied scoring indicates no reported confidentiality or integrity impact.

3

How can teams reduce risk if they cannot update immediately?

Ensure code using torch.profiler.profile calls profiler.stop() before finalization. Restrict local access to systems and workloads that run affected PyTorch profiling code where feasible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203