CVE-2026-55244lmfit asteval
Medium 5.0
Follow: this CVE · lmfit · lmfit asteval We alert you by email or Slack (account required).
- Priority
- 30
- CVSS 3.1
- 5.0
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 14, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-248
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
What happens
ASTEVAL is an evaluator of Python expressions and statements. Prior to 1.0.9, FROM_PY in asteval/astutils.py exposes BaseException, SystemExit, KeyboardInterrupt, and GeneratorExit to expressions evaluated by asteval.Interpreter.eval(), while run() and eval() in asteval/asteval.py catch Exception rather than these non-Exception BaseException subclasses. When an attacker-controlled expression raises one of these classes, on_raise() passes the class to raise_exception(), and the resulting exception bypasses the interpreter's safety handlers and propagates into the calling application. A consuming service that evaluates untrusted expressions can therefore be terminated or have signal and cleanup handling disrupted, causing denial of service. The separately documented read-only open() capability is not part of this vulnerability. This issue is fixed in version 1.0.9.
What to do
- Apply the vendor's security update for asteval.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | asteval |
< 1.0.9 |
1.0.9 |
pip install "asteval>=1.0.9" |
| PyPI | asteval |
< 1.0.9 |
1.0.9 |
pip install "asteval>=1.0.9" |
Per OSV / GitHub Advisories (GHSA-89v8-rhwq-hf77, PYSEC-2026-3807). Check the version in your lockfile before upgrading.
Affected products
- lmfit · asteval
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-asteval-1.0.9-1.1 on GA media · SUSE · openSUSE-SU-2026:11420-1 · Aug 1, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.