ADVISORIES

Vulnerability

CVE-2024-31583

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

5 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-pg7h-5qx3-wjr3

    Pytorch use-after-free vulnerability

    High CVE-2024-31583 PyPI Updated 11 June 2025
  • PYSEC-2024-251

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

    CVE-2024-31583 PyPI Updated 10 June 2026

References