{"id":"BIT-pytorch-2024-31583","details":"Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.","aliases":["CVE-2024-31583","GHSA-pg7h-5qx3-wjr3","PYSEC-2024-251"],"modified":"2026-09-08T08:48:24.931289317Z","published":"2025-06-11T05:57:26.054Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*"]},"references":[{"type":"ADVISORY","url":"https://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176"},{"type":"WEB","url":"https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132"},{"type":"FIX","url":"https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31583"}],"affected":[{"package":{"name":"pytorch","ecosystem":"Bitnami","purl":"pkg:bitnami/pytorch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pytorch/BIT-pytorch-2024-31583.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.9.0"}