AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

PyTorchPYSEC-2024-250

PyTorch: out-of-bounds read

PyTorch

CVE-2024-31584 · Published Apr 19, 2024 · updated Jun 4, 2025

Medium5.5
Fix: upgrade to 2.2.0 or later
Source advisory

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

Affected versions

PackageAffectedFixed in
torch
PyPI
< 2.2.02.2.0

Changes since it was listed

SeveritySep 24Severity: Unrated to Medium
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Severity from
NVD
Also known as
BIT-pytorch-2024-31584, CVE-2024-31584

More PyTorch advisories

All PyTorch