# CVE-2026-137997

Pickle deserialization in HCIPy <=0.7.1 allows arbitrary code execution via crafted .pkl files

- Page: https://www.vulneraibility.com/cve/CVE-2026-137997
- CVSS: 8.5
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.26% (percentile 10.8)
- Weakness: CWE-502
- EUVD: EUVD-2026-137351 (https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137351)
- Published: 2026-11-27

## Affected versions

- ehpor HCIPy: affected <= 0.7.1

A version outside these ranges is not a statement that it is unaffected.

## Impact

Arbitrary code execution with user privileges by loading crafted .pkl files via read_field/read_grid/read_mode_basis (insecure pickle deserialization).

## Action

Patch when possible

## Recommendation

Upgrade HCIPy to the patched commit/release and avoid loading untrusted .pkl files.

## References

- [other] https://github.com/ehpor/hcipy/issues/423
- [patch] https://github.com/ehpor/hcipy/pull/424
- [patch] https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763
- [other] https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264
- [advisory] https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py
- [EUVD (ENISA)] https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137351

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
