Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-24359

published high CVSS 3.1 · 8.4

ASTEVAL Vulnerable to Maliciously Crafted Format Strings Leading to Sandbox Escape

Published
24 Jan 2025, 16:52:44 UTC
Updated
12 Feb 2025, 20:01:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
lmfit — asteval< 1.0.6 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Leap-15.6 python311-astevalnoarch Advisory build 1.0.6-bp156.4.3.1 OPENSUSE-SU-2025:0052-1
SUSE / openSUSE openSUSE-Tumbleweed python311-astevalaarch64 Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python311-astevalppc64le Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python311-astevals390x Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python311-astevalx86_64 Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python312-astevalaarch64 Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python312-astevalppc64le Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python312-astevals390x Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python312-astevalx86_64 Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python313-astevalaarch64 Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python313-astevalppc64le Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python313-astevals390x Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1
SUSE / openSUSE openSUSE-Tumbleweed python313-astevalx86_64 Advisory build 1.0.6-1.1 OPENSUSE-SU-2025:14701-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
lmfit asteval < 1.0.6 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-134 CWE-134: Use of Externally-Controlled Format String (GitHub_M · cna)
  • CWE-749 CWE-749: Exposed Dangerous Method or Function (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

ASTEVAL Vulnerable to Maliciously Crafted Format Strings Leading to Sandbox Escape

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
bbc1f5fde361bb99ac3bbca2817510f2f8d5c850a824e3a70c33d9d124cbe9c2
Ingested
23 Sep 2026, 08:41:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected