HighVulnerability
CVE-2026-136428: PyTorch deserialization flaw in load_compiled_function
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-136428
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
CVE-2026-136428 affects PyTorch Foundation PyTorch installations and allows a remote attacker to execute arbitrary code. The flaw lies in the load_compiled_function function, which deserializes untrusted data because it does not validate user-supplied input. Exploitation requires the target to open a malicious file, and the attacker's code runs in the context of the current process.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- HighCVE-2026-136438: DeepSpeed build_engine_from_ds_checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability. This…Similar attack · NVD/CVE Database
- HighCVE-2026-136433: PyTorch torch_save_to_dcp remote code execution via untrusted deserializationSimilar attack · NVD/CVE Database
- HighCVE-2026-136432: PyTorch FileSystemReader deserialization of untrusted data allows code executionSimilar attack · NVD/CVE Database
- HighCVE-2026-136431: PyTorch deserialization of untrusted data in load_state_dict_from_urlSimilar attack · NVD/CVE Database
- HighCVE-2026-136426: PyTorch PT2 file parsing code injection enables remote code executionSimilar attack · NVD/CVE Database