PyTorchのload_state_dict_from_urlに脆弱性、遠隔からコードを実行される恐れ
Summary
PyTorchのload_state_dict_from_url関数で、信頼できないデータを検証せずに復元する脆弱性が見つかりました。悪意あるページを開いたり、悪意あるファイルを開いたりすると、任意のコードを実行される恐れがあります。CVSSは7.8で、悪用の有無や修正版の情報は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
PyTorchのload_state_dict_from_url関数で、信頼できないデータを検証せずに復元する脆弱性が見つかりました。悪意あるページを開いたり、悪意あるファイルを開いたりすると、任意のコードを実行される恐れがあります。CVSSは7.8で、悪用の有無や修正版の情報は公表されていないため、最新の情報を確認してください。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-136431 pytorch No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-136431 pytorch No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web zdi-disclosures@trendmicro.com
- web nvd.nist.gov
- web zerodayinitiative.com
- web github.com