VDB
Sign up
HIGH7.5

PYSEC-2025-203

Quick fix

PYSEC-2025-203 — torch: upgrade to the fixed version with the command below.

pip install --upgrade 'torch>=2.9.0'

Details

An issue in the component torch.linalg.lu of pytorch v2.8.0 allows attackers to cause a Denial of Service (DoS) when performing a slice operation.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/torch
Introduced in: 0Fixed in: 2.9.0
Fixpip install --upgrade 'torch>=2.9.0'

References