Skip to main content
VulnerabilityPublished Updated

CVE-2026-55244: Python asteval · ASTEVAL is an evaluator of Python expressions and statements

Affects python-astevalSource GCVE Database

0
Compare
Authoritative record:CVE-2026-55244· Medium 5.0

Not known to be exploited · CVSS 5.0 Medium · fixed in 1.0.9 : update python-asteval when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.0.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-astevalpkg:deb/ubuntu/python-asteval?arch=source&distro=stonkingOther threatsAffected
  • =1.0.6-2
Fixed in–
Ubuntu 26.04 LTSpython-astevalpkg:deb/ubuntu/python-asteval?arch=source&distro=resoluteOther threatsAffected
  • =1.0.6-2
Fixed in–
Ubuntu 24.04 LTSpython-astevalpkg:deb/ubuntu/python-asteval?arch=source&distro=nobleOther threatsAffected
  • =0.9.30-1
  • =0.9.31-1
Fixed in–
Ubuntu 22.04 LTSpython-astevalpkg:deb/ubuntu/python-asteval?arch=source&distro=jammyOther threatsAffected
  • =0.9.19-2
  • =0.9.25-2
Fixed in–
Ubuntu 20.04 LTSpython-astevalpkg:deb/ubuntu/python-asteval?arch=source&distro=focalOther threatsAffected
  • =0.9.12-1
  • =0.9.12-2
  • =0.9.17-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…