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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 27 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-27T16:10:19.194Z

Reserved: 2026-11-27T15:59:21.756Z

Link: CVE-2026-137997

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-27T17:17:59.007

Modified: 2026-11-27T17:17:59.007

Link: CVE-2026-137997

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-27T18:00:10Z

Weaknesses