Tag

Hyperspy

All articles tagged with #hyperspy

HyperSpy 2.6.0 Patch Fixes High-Severity Code Execution Flaw in Microscopy Data Files
technology43 minutes ago

HyperSpy 2.6.0 Patch Fixes High-Severity Code Execution Flaw in Microscopy Data Files

A high-severity vulnerability in the HyperSpy Python library, affecting versions 1.2.0 through 2.5.0, has been patched in version 2.6.0. The flaw allows attackers to execute arbitrary code by embedding malicious expressions in .hspy or .zspy files, which are evaluated using sympy.sympify() when users load or restore models. The fix replaces the unsafe evaluation method with a restricted parser, requiring users to upgrade both HyperSpy and RosettaSciIO to mitigate the risk.

HyperSpy 2.6.0 Released to Patch High-Severity Deserialization Flaw
technology43 minutes ago

HyperSpy 2.6.0 Released to Patch High-Severity Deserialization Flaw

HyperSpy 2.6.0 was released on November 27, 2026, to fix CVE-2026-138118, a high-severity insecure deserialization vulnerability affecting versions 1.4.0 through 2.5.0. The flaw allowed attackers to execute arbitrary Python code by supplying crafted .hspy or .zspy files containing malicious pickle payloads. The update introduces an 'UnsafeLegacyContent' exception to block untrusted deserialization by default, though a 'trusted=True' option remains for verified content. Users of the end-of-life 1.x series must upgrade to 2.6.0, as no backport is available.