PYSEC-2024-251
Dashboard / Vulnerabilities / PYSEC-2024-251
PYSEC-2024-251
Published: 17 Apr 2024Last Modified: 10 Jun 2026
Summary:
Details: Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
References: https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2, 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/advisories/GHSA-pg7h-5qx3-wjr3
Affected packages
Package
Name: torch
Purl: pkg:pypi/torch
Affected ranges
Affected versions
1.0.0
1.0.1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
