cve.bz

CVE-2026-102734 lmfit asteval: Protection Mechanism Failure

5.5 mediumEPSS 0.1%Fix available

Medium (5.5) in lmfit asteval. EPSS 0.1% estimated probability of exploitation activity in the next 30 days. Fixed in asteval 1.0.9.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-693 Protection Mechanism Failure
CWE-749 Exposed Dangerous Method or Function
CWE-913 Improper Control of Dynamically-Managed Code Resources
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • asteval (PyPI): fixed in 1.0.9

Ask an AI about this CVE

Show the promptExplain CVE-2026-102734 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102734?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102734?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102734 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
lmfit asteval< 1.0.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9w56-46f6-3qhxPyPIasteval<1.0.91.0.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-astevalno fix listedDEBIAN-CVE-2026-102734
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morepython-astevalno fix listedUBUNTU-CVE-2026-102734

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-693 (17).

References

Check your stackJSON