Mismatched Memory Management Routines 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.03% (7th 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-10337825
  • published12 Jun 2025
  • disclosed3 Apr 2025
  • creditdefault1360

Introduced: 3 Apr 2025

CVE-2025-3136  (opens in a new tab)
CWE-762  (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 Mismatched Memory Management Routines through the torch.cuda.memory.caching_allocator_delete function. An attacker can corrupt memory by manipulating the function locally.

CVSS Base Scores

version 4.0
version 3.1