All vulnerabilities

PyPI

CVE-2026-137997

HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py

Severity
High 8.5
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 10% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Deserialization of untrusted data (CWE-502)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
hcipyPyPI · osv:PyPI:hcipy
  • Every version up to 0.7.1

About hcipy

Weekly downloads (PyPI)
1,991PyPI Stats, 27 Nov 2026

This is the only vulnerability in hcipy in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137997