{"id":"CVE-2024-31584","aliases":["AZL-40043","BIT-pytorch-2024-31584","DEBIAN-CVE-2024-31584","EUVD-2024-29459","GHSA-vmg3-jxcp-7rqw","PYSEC-2024-250","UBUNTU-CVE-2024-31584"],"status":"published","title":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit...","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00383,"percentile":0.32837,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2024-04-19T00:00:00Z","modified":"2026-11-02T12:02:22Z","fixes":[{"ecosystem":"Azure Linux:2","package":"pytorch","fixed_in":["2.0.0-5"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"pytorch","fixed_in":["2.2.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pytorch","fixed_in":["2.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pytorch","fixed_in":["2.4.1-1"],"sources":["osv"]},{"ecosystem":"PyPI","package":"torch","fixed_in":["2.2.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-5"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"pytorch","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.1+dfsg-4","1.13.1+dfsg-5","2.0.1+dfsg-1","2.0.1+dfsg-1~exp1","2.0.1+dfsg-2","2.0.1+dfsg-4","2.0.1+dfsg-5","2.1.2+dfsg-1","2.1.2+dfsg-2","2.1.2+dfsg-4","2.12.0+dfsg2-1","2.12.0+dfsg2-1~exp1","2.12.0+dfsg2-1~exp2","2.12.0+dfsg2-2","2.12.0+dfsg2-3","2.12.0+dfsg2-4","2.12.1+dfsg-1","2.12.1+dfsg-2","2.14.1+dfsg-1","2.14.1+dfsg-1~exp1","2.4.1-1","2.4.1-3","2.4.1-4","2.5.0+dfsg-1","2.5.1+dfsg-1","2.5.1+dfsg-3","2.5.1+dfsg-4","2.6.0+dfsg-1","2.6.0+dfsg-1~exp1","2.6.0+dfsg-2","2.6.0+dfsg-3","2.6.0+dfsg-4","2.6.0+dfsg-5","2.6.0+dfsg-7","2.6.0+dfsg-8","2.6.0+dfsg-9","2.6.0~rc9+dfsg-1~exp1","2.9.0+dfsg-1~exp1","2.9.0+dfsg-1~exp2","2.9.1+dfsg-1~exp1","2.9.1+dfsg-1~exp2"]},{"source":"osv","ecosystem":"Debian:13","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"torch","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"7c35874ad664e74c8e4252d67521f3986eadb0e6"},{"fixed":"7c35874ad664e74c8e4252d67521f3986eadb0e6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"versions":["1.0.0","1.0.1","1.1.0","1.10.0","1.10.1","1.10.2","1.11.0","1.12.0","1.12.1","1.13.0","1.13.1","1.2.0","1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.8.0","1.8.1","1.9.0","1.9.1","2.0.0","2.0.1","2.1.0","2.1.1","2.1.2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-7","1.8.1-4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-5build1","2.6.0+dfsg-7"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.1+dfsg-1~exp1ubuntu2","2.12.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-7","2.6.0+dfsg-9","2.9.1+dfsg-1~exp1ubuntu2"]}],"products":[{"vendor":"linuxfoundation","product":"pytorch"},{"vendor":"pytorchlightning","product":"pytorch_lightning"}],"references":[{"url":"https://github.com/pytorch/pytorch/commit/7c35874ad664e74c8e4252d67521f3986eadb0e6","tags":["x_transferred","Patch","fix"]},{"url":"https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/flatbuffer_loader.cpp#L305","tags":["x_transferred","Product","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31584","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-vmg3-jxcp-7rqw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31584.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-31584","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-31584","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-31584","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-31584","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T00:00:00Z","modified":"2024-08-02T01:52:57.259Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:34:14.308905Z"}],"euvd":[{"id":"EUVD-2024-29459","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T00:00:00Z","modified":"2024-08-02T01:52:57Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T03:50:24.06764Z"}],"ghsa":[{"id":"GHSA-vmg3-jxcp-7rqw","title":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit...","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T21:31:08Z","modified":"2024-07-03T18:36:15Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:57:34.303632Z"}],"nvd":[{"id":"CVE-2024-31584","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T21:15:08.08Z","modified":"2026-06-17T07:28:36.837Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:09:53.50104Z"}],"osv":[{"id":"CVE-2024-31584","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T00:00:00Z","modified":"2026-10-28T10:54:36.999413794Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:40.06138Z"},{"id":"DEBIAN-CVE-2024-31584","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T21:15:08.08Z","modified":"2026-11-02T12:02:22.719258663Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:42.530184Z"},{"id":"UBUNTU-CVE-2024-31584","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T21:15:00Z","modified":"2026-10-17T12:56:34.85916837Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T16:54:48.333535Z"},{"id":"AZL-40043","title":"CVE-2024-31584 affecting package pytorch for versions less than 2.0.0-5","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T21:15:08Z","modified":"2026-04-21T04:28:54.010722Z","updated_at":"2026-11-02T15:28:04.608733Z"},{"id":"BIT-pytorch-2024-31584","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2025-06-04T14:56:56.215Z","modified":"2026-09-08T08:48:24.936680874Z","updated_at":"2026-11-02T15:28:35.111822Z"},{"id":"PYSEC-2024-250","description":"Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.","status":"published","published":"2024-04-19T21:15:08Z","modified":"2025-06-04T15:57:11.927887Z","updated_at":"2026-11-02T15:52:54.242332Z"}]}}
