Integer Overflow or Wraparound The advisory has been revoked - it doesn't affect any version of package torch  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.32% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-TORCH-13052969
  • published26 Sept 2025
  • disclosed25 Sept 2025
  • creditShaoyu Yang

Introduced: 25 Sep 2025

CVE-2025-55554  (opens in a new tab)
CWE-190  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

torch is a Tensors and Dynamic neural networks in Python with strong GPU acceleration

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the torch.nan_to_num() function when used with .long() to convert float("inf") in eager mode. An attacker can cause unexpected behavior by providing specially crafted input that triggers an integer overflow.