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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137997.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.7.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "ce3e08a85af8d3f43dae02e01c30b3231495e763"
}
],
"source": "REFERENCES_COMMIT"
}
]
}