HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py

State
Published
Severity
8.5 High
Published
Nov 27, 2026
Updated
Nov 30, 2026
Reserved
Nov 27, 2026

Read the record on cve.org

Description

HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to read_field, read_grid or read_mode_basis. Because hcipy/util/io.py selects pickle by file extension and calls pickle.load, a __reduce__ gadget in a pupil, apodizer, PSF or mode-basis file runs code with the user's privileges.

ProductVersions
HCIPy ehpor0.7.1 and earlier Affected

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.