Skip to content

CVE-2026-137997 HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py

HighCVSS 8.5 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi hcipy <= 0.7.1 after 0.7.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi hcipy <= 0.7.1 No fix listed

References