CVE-2026-55244: CWE-248: Uncaught Exception in lmfit asteval
A vulnerability in the asteval Python expression evaluator (prior to version 1.0.9) allows certain uncaught BaseException subclasses (such as SystemExit and KeyboardInterrupt) raised by attacker-controlled expressions to bypass safety handlers. This can cause the consuming application to terminate unexpectedly or disrupt signal and cleanup handling, resulting in denial of service. The issue is fixed in version 1.0.9.
AI Analysis
Technical Summary
The asteval library versions before 1.0.9 improperly handle certain BaseException subclasses (BaseException, SystemExit, KeyboardInterrupt, GeneratorExit) raised during evaluation of expressions. While the eval() and run() methods catch Exception, they do not catch these non-Exception subclasses. When such exceptions are raised by attacker-controlled expressions, they bypass the interpreter's safety mechanisms and propagate into the host application, potentially causing termination or disruption of cleanup processes. This vulnerability can be exploited to cause denial of service in applications that evaluate untrusted expressions. The vulnerability is addressed in asteval version 1.0.9.
Potential Impact
An attacker able to supply expressions to an application using vulnerable versions of asteval can cause the application to terminate unexpectedly or disrupt its signal and cleanup handling. This leads to denial of service. There is no impact on confidentiality or integrity. The vulnerability requires local or limited privileges (AV:L, PR:L) and user interaction (UI:R).
Mitigation Recommendations
Upgrade to asteval version 1.0.9 or later, where this issue is fixed. No other mitigation is indicated or required.
CVE-2026-55244: CWE-248: Uncaught Exception in lmfit asteval
Description
A vulnerability in the asteval Python expression evaluator (prior to version 1.0.9) allows certain uncaught BaseException subclasses (such as SystemExit and KeyboardInterrupt) raised by attacker-controlled expressions to bypass safety handlers. This can cause the consuming application to terminate unexpectedly or disrupt signal and cleanup handling, resulting in denial of service. The issue is fixed in version 1.0.9.
CVSS v3.1
Score 5.0medium
Affected software
lmfit
asteval
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The asteval library versions before 1.0.9 improperly handle certain BaseException subclasses (BaseException, SystemExit, KeyboardInterrupt, GeneratorExit) raised during evaluation of expressions. While the eval() and run() methods catch Exception, they do not catch these non-Exception subclasses. When such exceptions are raised by attacker-controlled expressions, they bypass the interpreter's safety mechanisms and propagate into the host application, potentially causing termination or disruption of cleanup processes. This vulnerability can be exploited to cause denial of service in applications that evaluate untrusted expressions. The vulnerability is addressed in asteval version 1.0.9.
Potential Impact
An attacker able to supply expressions to an application using vulnerable versions of asteval can cause the application to terminate unexpectedly or disrupt its signal and cleanup handling. This leads to denial of service. There is no impact on confidentiality or integrity. The vulnerability requires local or limited privileges (AV:L, PR:L) and user interaction (UI:R).
Mitigation Recommendations
Upgrade to asteval version 1.0.9 or later, where this issue is fixed. No other mitigation is indicated or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T16:44:00.624Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa8567355bf5e2cf58d7f08
Added to database: 09/14/2026, 20:17:55 UTC
Last enriched: 09/14/2026, 20:32:07 UTC
Last updated: 09/14/2026, 20:50:38 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.