CVE-2024-31583
CVE-2024-31583 is a high-severity vulnerability in Linuxfoundation Pytorch with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-416.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (18th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-1265
- Weakness: CWE-416
- Affected product: Linuxfoundation Pytorch
- Published:
- Last modified:
Description
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Frequently asked questions
- What is 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.
- How severe is CVE-2024-31583?
- CVE-2024-31583 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-31583 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (18th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-31583?
- CVE-2024-31583 affects Linuxfoundation Pytorch. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-31583?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-31583 have an EU (EUVD) identifier?
- Yes. CVE-2024-31583 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1265.
- When was CVE-2024-31583 published?
- CVE-2024-31583 was published on 2024-04-17 and last updated on 2026-06-17.
References
- https://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176
- https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132
- https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2
Affected products (1)
- cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*
More vulnerabilities in Linuxfoundation Pytorch
- CVE-2025-32434 — Critical (CVSS 9.8): PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks…
- CVE-2024-48063 — Critical (CVSS 9.8): In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this…
- CVE-2022-45907 — Critical (CVSS 9.8): In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is…
- CVE-2026-24747 — High (CVSS 8.8): PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's…
- CVE-2025-55560 — High (CVSS 7.5): An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of…
- CVE-2025-55558 — High (CVSS 7.5): A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d,…
All CVEs affecting Linuxfoundation Pytorch →
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…