PatchSiren

HyperSpy CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH HyperSpy CVE published 2026-11-28

CVE-2026-138117

CVE-2026-138117 is a high-severity vulnerability in HyperSpy, a Python library for hyperspectral data analysis. The vulnerability allows attackers to execute arbitrary Python code by crafting malicious .hspy or .zspy files that contain malicious expressions evaluated by sympy.sympify(). This vulnerability affects HyperSpy versions 1.2.0 to 2.5.0 and can be exploited through various channels, including malicious files distributed via email or uploaded to systems that use HyperSpy. Defenders should assess exposure and prioritize patching vulnerable versions, especially in data analysis and scientific research environments.

HIGH HyperSpy CVE published 2026-11-28

CVE-2026-138118

HyperSpy versions 1.4.0 before 2.6.0 contain an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. The vulnerability is due to the insecure use of cloudpickle.loads() (or dill in 1.x) when restoring models, which can be exploited by embedding a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry.