INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-2148

PyTorch Tuple Handler is Vulnerable to Memory Corruption through Manipulation of None Argument

CVE-2025-2148 ยท 2025-03-10 low

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Memory corruption
Affected
torch (PyPI)
CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

Passing a None argument to a profiler callback helper causes out-of-bounds memory writes in the tuple handling code. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.