Debian Package Tracker
Register | Log in
Subscribe

python-asteval

minimalistic evaluator of Python 3 expression using ast module

Choose email to subscribe with

general
  • source: python-asteval (main)
  • version: 1.0.6-2
  • maintainer: Debian Science Maintainers (archive) (DMD)
  • uploaders: Andreas Tille [DMD] – Michael Hudson-Doyle [DMD]
  • arch: all
  • std-ver: 4.7.0
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.9.19-2
  • oldstable: 0.9.28-1
  • stable: 1.0.6-2
  • testing: 1.0.6-2
  • unstable: 1.0.6-2
versioned links
  • 0.9.19-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.9.28-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.0.6-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python3-asteval
action needed
A new upstream version is available: 1.0.10 high
A new upstream version 1.0.10 is available, you should consider packaging it.
Created: 2025-11-27 Last update: 2026-09-30 05:00
1 security issue in sid high

There is 1 open security issue in sid.

1 important issue:
  • CVE-2026-55244: 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.
Created: 2026-09-16 Last update: 2026-09-23 00:32
1 security issue in forky high

There is 1 open security issue in forky.

1 important issue:
  • CVE-2026-55244: 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.
Created: 2026-09-16 Last update: 2026-09-23 00:32
2 security issues in bookworm high

There are 2 open security issues in bookworm.

1 important issue:
  • CVE-2026-55244: 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.
1 issue postponed or untriaged:
  • CVE-2025-24359: (needs triaging) ASTEVAL is an evaluator of Python expressions and statements. Prior to version 1.0.6, if an attacker can control the input to the `asteval` library, they can bypass asteval's restrictions and execute arbitrary Python code in the context of the application using the library. The vulnerability is rooted in how `asteval` performs handling of `FormattedValue` AST nodes. In particular, the `on_formattedvalue` value uses the dangerous format method of the str class. The code allows an attacker to manipulate the value of the string used in the dangerous call `fmt.format(__fstring__=val)`. This vulnerability can be exploited to access protected attributes by intentionally triggering an `AttributeError` exception. The attacker can then catch the exception and use its `obj` attribute to gain arbitrary access to sensitive or protected object properties. Version 1.0.6 fixes this issue.
Created: 2026-09-16 Last update: 2026-09-23 00:32
lintian reports 1 warning normal
Lintian reports 1 warning about this package. You should make the package lintian clean getting rid of them.
Created: 2026-02-17 Last update: 2026-02-17 04:46
1 low-priority security issue in trixie low

There is 1 open security issue in trixie.

1 issue left for the package maintainer to handle:
  • CVE-2026-55244: (needs triaging) 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.

You can find information about how to handle this issue in the security team's documentation.

Created: 2026-09-16 Last update: 2026-09-23 00:32
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.7.0).
Created: 2025-02-21 Last update: 2026-03-31 15:01
news
[rss feed]
  • [2025-02-13] python-asteval 1.0.6-2 MIGRATED to testing (Debian testing watch)
  • [2025-02-11] Accepted python-asteval 1.0.6-2 (source) into unstable (Stuart Prescott)
  • [2025-02-09] Accepted python-asteval 1.0.6-1 (source) into experimental (Stuart Prescott)
  • [2023-10-30] python-asteval 0.9.31-1 MIGRATED to testing (Debian testing watch)
  • [2023-10-28] Accepted python-asteval 0.9.31-1 (source) into unstable (Boyuan Yang)
  • [2023-06-24] python-asteval 0.9.30-1 MIGRATED to testing (Debian testing watch)
  • [2023-06-20] Accepted python-asteval 0.9.30-1 (source) into unstable (Boyuan Yang)
  • [2022-11-12] python-asteval 0.9.28-1 MIGRATED to testing (Debian testing watch)
  • [2022-11-09] Accepted python-asteval 0.9.28-1 (source) into unstable (Boyuan Yang)
  • [2021-09-05] python-asteval 0.9.25-2 MIGRATED to testing (Debian testing watch)
  • [2021-09-02] Accepted python-asteval 0.9.25-2 (source) into unstable (Picca Frédéric-Emmanuel)
  • [2021-09-02] Accepted python-asteval 0.9.25-1 (source) into unstable (Picca Frédéric-Emmanuel)
  • [2020-10-27] python-asteval 0.9.19-2 MIGRATED to testing (Debian testing watch)
  • [2020-10-21] Accepted python-asteval 0.9.19-2 (source) into unstable (Michael Hudson-Doyle)
  • [2020-10-21] Accepted python-asteval 0.9.19-1 (source) into unstable (Michael Hudson-Doyle)
  • [2019-11-26] python-asteval 0.9.17-1 MIGRATED to testing (Debian testing watch)
  • [2019-11-20] Accepted python-asteval 0.9.17-1 (source) into unstable (Alexandre Marie) (signed by: Picca Frédéric-Emmanuel)
  • [2019-10-29] python-asteval 0.9.12-2 MIGRATED to testing (Debian testing watch)
  • [2019-10-24] Accepted python-asteval 0.9.12-2 (source) into unstable (Ondřej Nový)
  • [2018-09-27] python-asteval 0.9.12-1 MIGRATED to testing (Debian testing watch)
  • [2018-09-24] Accepted python-asteval 0.9.12-1 (source all) into unstable, unstable (Andreas Tille)
bugs [bug history graph]
  • all: 1
  • RC: 0
  • I&N: 1
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 1.0.6-2

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing