CVE-2024-31583
7.8high
Pytorch use-after-free vulnerability
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-pg7h-5qx3-wjr3BIT-PYTORCH-2024-31583PYSEC-2024-251
Description
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pytorchlightning pytorch_lightning | 2.2.0 | CVE List |
| torch (PyPI) | before 2.2.0, before 9c7071b0e324f9fb68ab881283d6b8d388a4bcd2 | GitHub Advisory Database, PyPA Advisory Database |
| linuxfoundation pytorch | before 2.2.0 | NVD |
| pytorch (Bitnami) | before 2.2.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
NVD (es)
Se descubrió que Pytorch anterior a la versión v2.2.0 contenía una vulnerabilidad de use-after-free en torch/csrc/jit/mobile/interpreter.cpp.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-31583 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pg7h-5qx3-wjr3 changed 2025-06-11 | CC-BY-4.0 |
| NVD | CVE-2024-31583 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-251 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-PYTORCH-2024-31583 changed 2026-09-08 | Apache-2.0 |