CVE-2026-136431
CVE-2026-136431 · PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability
CVSS 7.8 · High · EPSS 0.6%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- pytorchNo fix published
- pytorch Debian 12No fix published
- pytorch Debian 13No fix published
- pytorch Debian 14No fix published
- and 3 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pytorch"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch Foundation PyTorch. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the load_state_dict_from_url function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32601.
- Published
- Updated
Stack: system
Affected products and versions
pytorch
- Versions
- 2.13.0: Affected
No fix published
pytorch Debian 12
- Versions
- 1.13.1+dfsg-4
- 1.13.1+dfsg-5
- 2.0.1+dfsg-1
- 2.0.1+dfsg-1~exp1
- 2.0.1+dfsg-2
- 2.0.1+dfsg-4
All versions (42)
- 2.0.1+dfsg-5
- 2.1.2+dfsg-1
- 2.1.2+dfsg-2
- 2.1.2+dfsg-4
- 2.12.0+dfsg2-1
- 2.12.0+dfsg2-1~exp1
- 2.12.0+dfsg2-1~exp2
- 2.12.0+dfsg2-2
- 2.12.0+dfsg2-3
- 2.12.0+dfsg2-4
- 2.12.1+dfsg-1
- 2.12.1+dfsg-2
- 2.14.1+dfsg-1
- 2.14.1+dfsg-1~exp1
- 2.15.0+dfsg-1~exp1
- 2.4.1-1
- 2.4.1-3
- 2.4.1-4
- 2.5.0+dfsg-1
- 2.5.1+dfsg-1
- 2.5.1+dfsg-3
- 2.5.1+dfsg-4
- 2.6.0+dfsg-1
- 2.6.0+dfsg-1~exp1
- 2.6.0+dfsg-2
- 2.6.0+dfsg-3
- 2.6.0+dfsg-4
- 2.6.0+dfsg-5
- 2.6.0+dfsg-7
- 2.6.0+dfsg-8
- 2.6.0+dfsg-9
- 2.6.0~rc9+dfsg-1~exp1
- 2.9.0+dfsg-1~exp1
- 2.9.0+dfsg-1~exp2
- 2.9.1+dfsg-1~exp1
- 2.9.1+dfsg-1~exp2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Debian 13
- Versions
- 2.12.0+dfsg2-1
- 2.12.0+dfsg2-1~exp1
- 2.12.0+dfsg2-1~exp2
- 2.12.0+dfsg2-2
- 2.12.0+dfsg2-3
- 2.12.0+dfsg2-4
All versions (18)
- 2.12.1+dfsg-1
- 2.12.1+dfsg-2
- 2.14.1+dfsg-1
- 2.14.1+dfsg-1~exp1
- 2.15.0+dfsg-1~exp1
- 2.6.0+dfsg-7
- 2.6.0+dfsg-8
- 2.6.0+dfsg-9
- 2.9.0+dfsg-1~exp1
- 2.9.0+dfsg-1~exp2
- 2.9.1+dfsg-1~exp1
- 2.9.1+dfsg-1~exp2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Debian 14
- Versions
- 2.12.0+dfsg2-1
- 2.12.0+dfsg2-1~exp1
- 2.12.0+dfsg2-1~exp2
- 2.12.0+dfsg2-2
- 2.12.0+dfsg2-3
- 2.12.0+dfsg2-4
All versions (18)
- 2.12.1+dfsg-1
- 2.12.1+dfsg-2
- 2.14.1+dfsg-1
- 2.14.1+dfsg-1~exp1
- 2.15.0+dfsg-1~exp1
- 2.6.0+dfsg-7
- 2.6.0+dfsg-8
- 2.6.0+dfsg-9
- 2.9.0+dfsg-1~exp1
- 2.9.0+dfsg-1~exp2
- 2.9.1+dfsg-1~exp1
- 2.9.1+dfsg-1~exp2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Ubuntu 22.04 LTS
- Versions
- 1.7.1-7
- 1.8.1-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Ubuntu 26.10
- Versions
- 2.9.1+dfsg-1~exp1ubuntu2
- 2.12.1+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Ubuntu 26.04 LTS
- Versions
- 2.6.0+dfsg-7
- 2.6.0+dfsg-9
- 2.9.1+dfsg-1~exp1ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published