{"id":"CVE-2026-137997","aliases":["CVE-2026-137997"],"related":[],"kind":"vulnerability","state":"published","title":"HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-27T16:10:19.194Z","modified":"2026-11-30T17:18:48.780Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.7.1","status":"affected"}],"vendor":"ehpor","product":"HCIPy","repo":"https://github.com/ehpor/hcipy","source":"cvelist"}],"references":[{"url":"https://github.com/ehpor/hcipy/issues/423","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ehpor/hcipy/pull/424","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dilanka Kaushal Hewage (r3vpwnx)"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137997","url":"https://www.cve.org/CVERecord?id=CVE-2026-137997","licence":"CVE Terms of Use","modified":"2026-11-27T16:10:19.194Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137997","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137997","licence":"Public domain","modified":"2026-11-30T17:18:48.780Z"}],"updatedAt":"2026-11-30T17:32:13.022Z","epss":{"score":0.00479,"percentile":0.42972,"date":"2026-12-01T12:00:22.000Z"}}