Advisory

PYSEC-2024-251

Also known as: BIT-pytorch-2024-31583, CVE-2024-31583, GHSA-pg7h-5qx3-wjr3

Summary

The record has no summary.

Details

Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.

Severity

Not rated by the source.

Dates

Published
2024-04-17 19:15 UTC
Modified
2026-06-10 17:51 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