CVE-2026-137997
HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py
High · 8.5
- CVSS
- 8.5
- EPSS
- —
- Published
- 2026-11-27
- Age
- 23h old
- Modified
- 2026-11-27
- Product
- ehpor HCIPy
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
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.
Sources
- NVD · first seen 22h ago · NVD terms of use
- OSV · first seen 20h ago · CC-BY 4.0
- CVE List · first seen 23h ago · CVE Terms of Use
References
- https://github.com/ehpor/hcipy/issues/423 issue-tracking
- https://github.com/ehpor/hcipy/pull/424 issue-tracking
- https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763 patch
- https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264 technical-description
- https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137997.json advisory
- https://github.com/ehpor/hcipy package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137997 advisory