Search
Find a vulnerability
Search criteria
1 vulnerability by ehpor
CVE-2026-137997 (GCVE-0-2026-137997)
Vulnerability from cvelistv5 – Published: 2026-11-27 16:10 – Updated: 2026-11-27 16:10
VLAI
EPSS
VEX
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.
Severity
CWE
- CWE-502 - Deserialization of Untrusted Data
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/ehpor/hcipy/issues/423 | issue-tracking |
| https://github.com/ehpor/hcipy/pull/424 | issue-trackingpatch |
| https://github.com/ehpor/hcipy/commit/ce3e08a85af… | patch |
| https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/… | technical-description |
| https://www.vulncheck.com/advisories/hcipy-throug… | third-party-advisory |
Date Public
2026-11-24 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:pypi/hcipy",
"product": "HCIPy",
"repo": "https://github.com/ehpor/hcipy",
"vendor": "ehpor",
"versions": [
{
"lessThanOrEqual": "0.7.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Dilanka Kaushal Hewage (r3vpwnx)"
}
],
"datePublic": "2026-11-24T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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\u0027s privileges."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 8.5,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "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",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-502",
"description": "Deserialization of Untrusted Data",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-27T16:10:19.194Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"issue-tracking"
],
"url": "https://github.com/ehpor/hcipy/issues/423"
},
{
"tags": [
"issue-tracking",
"patch"
],
"url": "https://github.com/ehpor/hcipy/pull/424"
},
{
"tags": [
"patch"
],
"url": "https://github.com/ehpor/hcipy/commit/ce3e08a85af8d3f43dae02e01c30b3231495e763"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/ehpor/hcipy/blob/v0.7.1/hcipy/util/io.py#L262-L264"
},
{
"name": "VulnCheck Advisory: HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/hcipy-through-0.7.1-insecure-deserialization-via-pickle-files-in-io-py"
}
],
"title": "HCIPy through 0.7.1 Insecure Deserialization via Pickle Files in io.py",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-137997",
"datePublished": "2026-11-27T16:10:19.194Z",
"dateReserved": "2026-11-27T15:59:21.756Z",
"dateUpdated": "2026-11-27T16:10:19.194Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}