Buffer overflow in PyTorch - CVE-2025-3121

 

Buffer overflow in PyTorch - CVE-2025-3121

Published: May 12, 2025


Vulnerability identifier: #VU108931
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-3121
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: pytorch
Affected software:
PyTorch

Detailed vulnerability description

The vulnerability allows a local user to cause memory corruption.

The vulnerability exists in the function torch.jit.jit_module_from_flatbuffer. A local user can trigger the vulnerability to cause memory corruption


How to mitigate CVE-2025-3121

Install updates from vendor's website.

Sources