CVE-2024-31580

Medium

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.

SeverityMedium
CVSS4.0
Exploit probability—
ProductLinuxfoundation Pytorch
PublishedApr 17, 2024
First seenApr 17, 2024
Weakness typeCWE-122CWE-122

How to fix

Update
  • linuxfoundation pytorch2.2.0 or later
  • torch2.2.0 or later
  • torch-npu2.2.0 or later

Affected products

ProductAffected versionsFixed in
linuxfoundation pytorchv < 2.2.02.2.0
torchPyPIv < 2.2.02.2.0
torch-npuPyPIv < 2.2.02.2.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.