VDB
KO
HIGH 7.5

PYSEC-2025-207

Details

A Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and is compiled by Inductor, leading to a Denial of Service (DoS).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / torch
Introduced in: 0 Fixed in: 2.7.1
Fix pip install --upgrade 'torch>=2.7.1'

References