# CVE-2024-31584: Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbufferloader.cpp.

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2024-04-19T00:00:00.000Z
- Modified: 2026-09-08T08:48:24.936Z
- Also known as: PYSEC-2024-250, BIT-PYTORCH-2024-31584
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pytorchlightning pytorch_lightning: 2.2.0
- linuxfoundation pytorch: before 2.2.0
- torch (PyPI): before 7c35874ad664e74c8e4252d67521f3986eadb0e6; before 2.2.0
- pytorch (Bitnami): before 2.2.1

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/pytorch/pytorch/commit/7c35874ad664e74c8e4252d67521f3986eadb0e6> (fix, patch)
- <https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/flatbuffer_loader.cpp#L305> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31584> (web)

## Sources

- CVE List: [CVE-2024-31584](https://www.cve.org/CVERecord?id=CVE-2024-31584), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-31584](https://nvd.nist.gov/vuln/detail/CVE-2024-31584), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-250](https://osv.dev/vulnerability/PYSEC-2024-250), CC-BY-4.0, modified 2025-06-04
- Bitnami Vulnerability Database: [BIT-PYTORCH-2024-31584](https://osv.dev/vulnerability/BIT-PYTORCH-2024-31584), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-31584 · Whole record: https://cve.day/CVE-2024-31584.json · Rebuilt by cve.day 2026-11-25T22:58:39.492Z
