CVE-2024-31580
PyTorch heap buffer overflow vulnerability
7.5
HIGH
CVSS 3.1
EPSS 0.04%
Description
PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
How to fix CVE-2024-31580
To remediate CVE-2024-31580, upgrade the affected package to a fixed version below.
- Bitnami/pytorch—upgrade to 2.2.1 or later
- —no fix listed
- —upgrade to 2.2.0 or later
- —upgrade to b5c3a17c2c207ebefcb85043f0cf94be9b2fef81 or later
Is CVE-2024-31580 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.2.1
- from 0
- from 0, < 2.2.0
- from 0, < b5c3a17c2c207ebefcb85043f0cf94be9b2fef81, < b5c3a17c2c207ebefcb85043f0cf94be9b2fef81 | from 0, < 2.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |