# CVE-2024-31584

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-04-19 · Modified: 2024-08-02
- Aliases: PYSEC-2024-250, BIT-pytorch-2024-31584, UBUNTU-CVE-2024-31584, DEBIAN-CVE-2024-31584
- Record: https://cvemate.com/vulnerability/CVE-2024-31584 · JSON: https://cvemate.com/vulnerability/CVE-2024-31584/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- EPSS: 0.383%, percentile 34.536%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian pytorch (Debian): All versions (No fix recorded) \| \< 2.4.1-1
- ubuntu pytorch (Ubuntu): All versions (No fix recorded)
- linuxfoundation pytorch: \< 2.2.0
- PyPI torch (PyPI): \< 7c35874ad664e74c8e4252d67521f3986eadb0e6 \| \< 2.2.0

## References

- <https://github.com/pytorch/pytorch/commit/7c35874ad664e74c8e4252d67521f3986eadb0e6>
- <https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/flatbuffer_loader.cpp#L305>
- <https://ubuntu.com/security/CVE-2024-31584>
- <https://www.cve.org/CVERecord?id=CVE-2024-31584>
- <https://security-tracker.debian.org/tracker/CVE-2024-31584>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31584>

---

Data as of 2026-12-05T09:09:13.001Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
