CVE-2024-31583
HIGH7.8EPSS 0.05%Pytorch use-after-free vulnerability
Published: 4/17/2024Modified: 4/28/2026
Description
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Affected packages (4)
- Bitnami/pytorchfrom 0, < 2.2.1
- Debian/pytorchfrom 0
- PyPI/torchfrom 0, < 2.2.0
- PyPI/torchfrom 0, < 9c7071b0e324f9fb68ab881283d6b8d388a4bcd2, < 9c7071b0e324f9fb68ab881283d6b8d388a4bcd2 | from 0, < 2.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-31583
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-31583
- PATCHhttps://github.com/pytorch/pytorch
- WEBhttps://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2024-251.yaml
- WEBhttps://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132
- WEBhttps://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2
- WEBhttps://security.snyk.io/vuln/SNYK-PYTHON-TORCH-6619806