Memory Corruption via torch.jit.jit_module_from_flatbuffer (PyTorch 2.6.0)
CVE-2025-3121 Published on April 2, 2025

PyTorch torch.jit.jit_module_from_flatbuffer memory corruption
A vulnerability classified as problematic has been found in PyTorch 2.6.0. Affected is the function torch.jit.jit_module_from_flatbuffer. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.

NVD

A proof of concept, or POC exists for this vulnerability.

Vulnerability Analysis

Exploitation:
POC
Automatable:
NO
Technical Impact:
PARTIAL

Timeline

Advisory disclosed

VulDB entry created

VulDB entry last update

Weakness Type

What is a Buffer Overflow Vulnerability?

The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.

CVE-2025-3121 has been classified to as a Buffer Overflow vulnerability or weakness.


Products Associated with CVE-2025-3121

Want to know whenever a new CVE is published for Linux Foundation Pytorch? stack.watch will email you.

Exploit Probability

EPSS
0.28%
Percentile
20.94%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.