Advisory

PYSEC-2024-252

Also known as: BIT-pytorch-2024-31580, CVE-2024-31580, GHSA-5pcm-hx3q-hm94, PYSEC-2024-328

Summary

The record has no summary.

Details

PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

Severity

Not rated by the source.

Dates

Published
2024-04-17 19:15 UTC
Modified
2026-07-27 12:26 UTC

Affected packages and fixes

torch

PyPI · All systems

Affected

  • introduced 0, fixed 2.2.0 (ecosystem)

Fixed versions

2.2.0

Fix

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

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