CVE-2024-31583
highpriority · track · 0EPSS 0.003 · 19 %ileDEEURUUSEPSS · scored 2026-10-27
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0922PyTorch: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2024-04-17csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in PyTorch ausnutzen, um einen Denial of Service Angriff durchzuführen.
- GHSA-pg7h-5qx3-wjr3Pytorch use-after-free vulnerability2024-04-17ghsa · osvUS
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
- BIT-pytorch-2024-315832025-06-11vendor · osvUS
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
- PYSEC-2024-2512024-04-17vendor · osvUS
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-31583/cnnvd
- https://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176cnnvd
- https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132cnnvd
- https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2cnnvd
- https://github.com/pytorch/pytorch/releases/tag/v2.2.2Patchcnnvd
- https://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176enisa_euvd
- https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132enisa_euvd
- https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan