CVE-2026-102734Lmfit Asteval improper control of dynamically-managed code resources
CVSS score
5.5
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.13%
0.13% chance of exploitation in the next 30 days, higher than 2.31% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running lmfit Asteval and compare its version with the affected versions.
Update to a fixed version
- Update Asteval to 1.0.9 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| lmfit Asteval | < 1.0.9 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-102734 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-102734?
CVE-2026-102734 has a CVSS 3.1 base score of 5.5 (medium).
Which versions are affected?
Lmfit Asteval (< 1.0.9)
Is there a patch for CVE-2026-102734?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.