CVE-2026-138118

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.
Configurations

No configuration.

History

30 Nov 2026, 17:18

Type Values Removed Values Added
References () https://github.com/hyperspy/hyperspy/issues/3699 - () https://github.com/hyperspy/hyperspy/issues/3699 -
References () https://github.com/hyperspy/hyperspy/security/advisories/GHSA-j975-x368-3hrr - () https://github.com/hyperspy/hyperspy/security/advisories/GHSA-j975-x368-3hrr -

28 Nov 2026, 02:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-28 02:17

Updated : 2026-11-30 17:18


NVD link : CVE-2026-138118

Mitre link : CVE-2026-138118

CVE.ORG link : CVE-2026-138118


JSON object : View

Products Affected

No product.

CWE
CWE-502

Deserialization of Untrusted Data