{"affected":[{"defaultStatus":"unaffected","ecosystem":"pypi","packageName":"hcipy","product":"HCIPy","source":"CNA: VulnCheck","vendor":"ehpor","versions":[{"lessThanOrEqual":"0.7.1","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-137997","cwes":["CWE-502"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.5,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":7.8,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":8.5,"severity":"high","source":"NVD: disclosure@vulncheck.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":7.8,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1795799879007,"publishedAt":1795795819194,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking"],"url":"https://github.com/ehpor/hcipy/issues/423"},{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/ehpor/hcipy/pull/424"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ehpor/hcipy/issues/423"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ehpor/hcipy/pull/424"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ehpor/hcipy/pull/424"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763"}],"revision":"4f9abfdfad86de66c3de3e77cc666d53e414e7e3585ff3c9555161f085c02e89","sources":[{"modifiedAt":1795795819194,"name":"CNA: VulnCheck","retrievedAt":1795799491177,"url":"https://www.cve.org/CVERecord?id=CVE-2026-137997"},{"modifiedAt":1795799879007,"name":"NVD","retrievedAt":1795803443827,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137997"}],"ssvc":null,"status":"published","title":"HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py","updatedAt":1795803443827}