CVE-2026-102734asteval sandbox escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter
Updated under an hour ago ()
Does this affect you?
It affects lmfit asteval. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-693, CWE-749, CWE-913
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Oct 13, 2026
- First seen by InfoSec Signals
- Oct 13, 2026
Affected products
lmfit asteval lmfit:asteval (from the name) | before 1.0.9 | CNA record |
References
- https://github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhxx-refsource-confirm
- https://github.com/lmfit/asteval/pull/153x-refsource-misc
- https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4x-refsource-misc
- https://github.com/lmfit/asteval/releases/tag/1.0.9x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.