Uncaught Exception Affecting asteval package, versions [,1.0.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-ASTEVAL-20883326
  • published13 Oct 2026
  • disclosed13 Oct 2026
  • creditHamza Haroon

Introduced: 13 Oct 2026

NewCVE-2026-102734  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade asteval to version 1.0.9 or higher.

Overview

asteval is a Safe, minimalistic evaluator of python expression using ast module

Affected versions of this package are vulnerable to Uncaught Exception via the parse, run, eval, and import_module methods of the Interpreter class, which do not catch KeyboardInterrupt, SystemExit, or GeneratorExit exceptions. An attacker who can supply an expression to the interpreter can trigger one of these exiting exceptions, causing the process to terminate abruptly rather than having the exception handled and recorded as an interpreter error.

CVSS Base Scores

version 4.0
version 3.1