5.5
MEDIUM CVSS 3.1
CVE-2026-102734
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.

INFO

Published Date :

Oct. 13, 2026, 4:17 p.m.

Last Modified :

Oct. 13, 2026, 4:17 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-102734 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 3.1 MEDIUM [email protected]
Solution
Update asteval to 1.0.9 to fix memory corruption and arbitrary code execution vulnerabilities.
  • Update asteval to version 1.0.9.
  • Review code for unsafe attribute assignments.
  • Limit access to sensitive modules.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-102734.

URL Resource
https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4
https://github.com/lmfit/asteval/pull/153
https://github.com/lmfit/asteval/releases/tag/1.0.9
https://github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhx
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-102734 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-102734 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-102734 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-102734 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Oct. 13, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Added CWE CWE-749
    Added CWE CWE-693
    Added CWE CWE-913
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/102xxx/CVE-2026-102734.json">CVE-2026-102734</a>
    Added Reference https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4
    Added Reference https://github.com/lmfit/asteval/pull/153
    Added Reference https://github.com/lmfit/asteval/releases/tag/1.0.9
    Added Reference https://github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhx
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.