Advisory

PYSEC-2024-250

Also known as: BIT-pytorch-2024-31584, CVE-2024-31584

Summary

The record has no summary.

Details

Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.

Severity

Not rated by the source.

Dates

Published
2024-04-19 21:15 UTC
Modified
2025-06-04 15:57 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