Out-of-bounds Write Affecting torch package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (5th 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-10337834
  • published12 Jun 2025
  • disclosed2 Apr 2025
  • creditvwrewsge

Introduced: 2 Apr 2025

CVE-2025-3121  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for torch.

Overview

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

Affected versions of this package are vulnerable to Out-of-bounds Write through the torch.jit.jit_module_from_flatbuffer function. An attacker can corrupt memory by manipulating the input data to this function.

CVSS Base Scores

version 4.0
version 3.1