{"api_version":"1","generated_at":"2026-10-18T04:36:01+00:00","cve":"CVE-2026-102734","urls":{"html":"https://cve.report/CVE-2026-102734","api":"https://cve.report/api/cve/CVE-2026-102734.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-102734","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102734"},"summary":{"title":"asteval sandbox escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter","description":"asteval is a Python expression evaluator designed for restricted execution. Prior to 1.0.9, in asteval/astutils.py, the default Interpreter with numpy enabled exposes a ctypes type and permits from_address memory access. safe_getattr blocks the ctypes module but not reachable ctypes type objects, while attribute assignments use unfiltered setattr instead of safe_setattr. An attacker-controlled expression can derive an address with id, read memory through from_address, and write through an attribute assignment. The expression can read or corrupt arbitrary process memory, escape the intended sandbox, execute code, disclose secrets, or crash the host process. This issue is fixed in version 1.0.9.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-13 16:17:09","updated_at":"2026-10-16 20:04:29"},"problem_types":["CWE-693","CWE-749","CWE-913","CWE-693 CWE-693: Protection Mechanism Failure","CWE-749 CWE-749: Exposed Dangerous Method or Function","CWE-913 CWE-913: Improper Control of Dynamically-Managed Code Resources"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhx","name":"https://github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhx","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/lmfit/asteval/releases/tag/1.0.9","name":"https://github.com/lmfit/asteval/releases/tag/1.0.9","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/lmfit/asteval/pull/153","name":"https://github.com/lmfit/asteval/pull/153","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4","name":"https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102734","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102734","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"lmfit","product":"asteval","version":"affected < 1.0.9","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"102734","cve":"CVE-2026-102734","epss":"0.001280000","percentile":"0.021870000","score_date":"2026-10-16","updated_at":"2026-10-17 00:14:15"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-102734","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-10-13T20:13:07.578455Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-10-13T20:22:29.684Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"asteval","vendor":"lmfit","versions":[{"status":"affected","version":"< 1.0.9"}]}],"descriptions":[{"lang":"en","value":"asteval is a Python expression evaluator designed for restricted execution. Prior to 1.0.9, in asteval/astutils.py, the default Interpreter with numpy enabled exposes a ctypes type and permits from_address memory access. safe_getattr blocks the ctypes module but not reachable ctypes type objects, while attribute assignments use unfiltered setattr instead of safe_setattr. An attacker-controlled expression can derive an address with id, read memory through from_address, and write through an attribute assignment. The expression can read or corrupt arbitrary process memory, escape the intended sandbox, execute code, disclose secrets, or crash the host process. This issue is fixed in version 1.0.9."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-749","description":"CWE-749: Exposed Dangerous Method or Function","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-913","description":"CWE-913: Improper Control of Dynamically-Managed Code Resources","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-13T15:29:49.209Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhx"},{"name":"https://github.com/lmfit/asteval/pull/153","tags":["x_refsource_MISC"],"url":"https://github.com/lmfit/asteval/pull/153"},{"name":"https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4","tags":["x_refsource_MISC"],"url":"https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4"},{"name":"https://github.com/lmfit/asteval/releases/tag/1.0.9","tags":["x_refsource_MISC"],"url":"https://github.com/lmfit/asteval/releases/tag/1.0.9"}],"source":{"advisory":"GHSA-9w56-46f6-3qhx","discovery":"UNKNOWN"},"title":"asteval sandbox escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-102734","datePublished":"2026-10-13T15:29:49.209Z","dateReserved":"2026-09-29T16:19:11.295Z","dateUpdated":"2026-10-13T20:22:29.684Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-13 16:17:09","lastModifiedDate":"2026-10-16 20:04:29","problem_types":["CWE-693","CWE-749","CWE-913","CWE-693 CWE-693: Protection Mechanism Failure","CWE-749 CWE-749: Exposed Dangerous Method or Function","CWE-913 CWE-913: Improper Control of Dynamically-Managed Code Resources"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-13T20:13:07.578455Z","id":"CVE-2026-102734","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"102734","Ordinal":"1","Title":"asteval sandbox escape: arbitrary native memory read/write via n","CVE":"CVE-2026-102734","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"102734","Ordinal":"1","NoteData":"asteval is a Python expression evaluator designed for restricted execution. Prior to 1.0.9, in asteval/astutils.py, the default Interpreter with numpy enabled exposes a ctypes type and permits from_address memory access. safe_getattr blocks the ctypes module but not reachable ctypes type objects, while attribute assignments use unfiltered setattr instead of safe_setattr. An attacker-controlled expression can derive an address with id, read memory through from_address, and write through an attribute assignment. The expression can read or corrupt arbitrary process memory, escape the intended sandbox, execute code, disclose secrets, or crash the host process. This issue is fixed in version 1.0.9.","Type":"Description","Title":"asteval sandbox escape: arbitrary native memory read/write via n"}]}}}