Security mailing lists by PureSourceCode

CVE-2024-31583

HIGH 7.8CVSS 3.1

Pytorch use-after-free vulnerability

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

Published
17 Apr 2024
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-416
Also known as
BIT-pytorch-2024-31583GHSA-pg7h-5qx3-wjr3PYSEC-2024-251
Sources
NVDJSONOSV GHSA-pg7h-5qx3-wjr3JSONOSV PYSEC-2024-251JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation pytorch
cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*
< 2.2.0 2.2.0
OSV PyPI torch < 2.2.0 2.2.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 17 Apr 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Apr 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.