Advisory

PYSEC-2025-207

Also known as: BIT-pytorch-2025-55557, CVE-2025-55557

Summary

The record has no summary.

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).

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-09-25 16:15 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

torch

PyPI · All systems

Affected

  • introduced 0, fixed 2.7.1 (ecosystem)

Fixed versions

2.7.1

Fix

  • Fixed version 2.7.1
    pip install --upgrade torch==2.7.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences