Live threats

All CVEs / Linuxfoundation

CVE-2024-31584Linuxfoundation Pytorch

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.5%
probability of exploitation in 30 days · percentile 38
Auth required
Yes
Published
Apr 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Pytorch.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI torch < 2.2.0 2.2.0 pip install "torch>=2.2.0"

Per OSV / GitHub Advisories (PYSEC-2024-250). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationpytorch< 2.2.0

Official sources

References

Links published by the sources. Open them with care.