Skip to content
High 8.5

HyperSpyに保存モデルの復元で任意のPythonコードを実行される脆弱性

CVE-2026-138118 First seen on SecPulse

Summary

HyperSpy 1.4.0から2.6.0より前のバージョンに、安全でないデシリアライズの脆弱性があります。細工した.hspyや.zspyファイルのモデルを復元すると、任意のPythonコードを実行されるおそれがあります。修正版の2.6.0が公開されているため、2.6.0以降へ更新してください。信頼できないモデルファイルは開かないようにしてください。

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.

HyperSpy 1.4.0から2.6.0より前のバージョンに、安全でないデシリアライズの脆弱性があります。細工した.hspyや.zspyファイルのモデルを復元すると、任意のPythonコードを実行されるおそれがあります。修正版の2.6.0が公開されているため、2.6.0以降へ更新してください。信頼できないモデルファイルは開かないようにしてください。

Affected packages

PackageAffected → Fixed
HyperSpyHyperSpy
≥ 1.4.0, < 2.6.0→ 2.6.0
Original description The description as published by the source.

HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details