GitHub Advisoryadvisory · PyPI
GHSA-c678-jfcj-6jmf PyTorch Tuple Handler is Vulnerable to Memory Corruption through Manipulation of None Argument
LOW
Official page ↗
- Aliases
- CVE-2025-2148
- Ecosystem
- PyPI
- Packages
- torch
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-119
- Reviewed
- 2026-06-09
Affected packages
• PyPI torch: <= 2.6.0 (no fix yet)
Description
A vulnerability was found in PyTorch 2.6.0+cu124. It has been declared as critical. Affected by this vulnerability is the function torch.ops.profiler._call_end_callbacks_on_jit_fut of the component Tuple Handler. The manipulation of the argument None leads to memory corruption. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult.
Related
Alias · CVE (1)
- CVE-2025-2148 A vulnerability was found in PyTorch 2.6.0+cu124. vulnerability
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-2148 advisory
- https://github.com/pytorch/pytorch/issues/147722 web
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-189.yaml web
- https://github.com/pytorch/pytorch package
- https://github.com/pytorch/pytorch/blob/b0a67c7495bb11ecb23e556058db059ba48354af/torch/autograd/profiler.py#L990 web
- https://vuldb.com/?ctiid.299059 web
- https://vuldb.com/?id.299059 web
- https://vuldb.com/?submit.505959 web