CVE-2025-24359

HIGHNVD 8.48.4—
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 8.4 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 86% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Elevated
8.4EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.3%CVSS: 8.4Exploit: Elevated riskExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
8.4
EG Score
8.4HIGHmedium confidence
EG Risk
54
EG Risk 54/100

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity84% × 45%
Exploitation40% × 40%
Automatability0% × 15%
EPSS PROB
0.3%
EPSS %ILE
18th
KEV
Not listed

Published

January 24, 2025

Last Modified

April 15, 2026

Advisory Details (3)

Auto-updated Sep 3, 2026
🔬 Proof of concept available. Patch available. Sources: github.
generic

Be Careful with Python’s New-Style String Format | Armin Ronacher's Thoughts and Writings

https://lucumr.pocoo.org/2016/12/29/careful-with-str-format
githubMentions a patch (unverified)🟡 PoC Available

Maliciously Crafted Format Strings Lead to Sandbox Escape · Advisory · lmfit/asteval · GitHub

https://github.com/lmfit/asteval/security/advisories/GHSA-3wwr-3g9f-9gc7
generic

asteval/asteval/asteval.py at cfb57f0beebe0dc0520a1fbabc35e66060c7ea71 · lmfit/asteval · GitHub

https://github.com/lmfit/asteval/blob/cfb57f0beebe0dc0520a1fbabc35e66060c7ea71/asteval/asteval.py#L507

Affected Packages

(5 across 5 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
python-asteval0.9.19-2 ... 1.0.6-2 (8 versions)
  • every version on: no fix on record
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
python-asteval0.9.28-1, 0.9.30-1, 0.9.31-1, 1.0.6-1, 1.0.6-2
  • every version on: no fix on record
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
python-asteval—
  • every version up to 1.0.6-2: fixed in 1.0.6-2
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
python-asteval—
  • every version up to 1.0.6-2: fixed in 1.0.6-2
—
PyPI(1)
PackageVulnerable rangeFix by version rangeDependents
asteval0.9 ... 1.0.5 (40 versions)
  • every version up to 1.0.6: fixed in 1.0.6
—

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 8× in last 7d / 30× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 198 total refreshes for this CVE.

  1. 2026-10-10 19:59 UTCEPSS rescore
  2. 2026-10-09 20:06 UTCEPSS rescore
  3. 2026-10-08 17:09 UTCEPSS rescore
  4. 2026-10-07 23:46 UTCEPSS rescore
  5. 2026-10-07 02:05 UTCOSV refresh
  6. 2026-10-06 15:16 UTCEPSS rescore
  7. 2026-10-05 17:42 UTCEPSS rescore
  8. 2026-10-04 23:21 UTCEPSS rescore
  9. 2026-10-03 14:24 UTCEPSS rescore
  10. 2026-10-02 16:26 UTCEPSS rescore
  11. 2026-10-01 19:48 UTCEPSS rescore
  12. 2026-09-30 15:02 UTCEPSS rescore
  13. 2026-09-30 15:02 UTCEPSS rescore
  14. 2026-09-28 13:50 UTCEPSS rescore
  15. 2026-09-26 15:58 UTCEPSS rescore
  16. 2026-09-26 15:58 UTCEPSS rescore
  17. 2026-09-26 00:24 UTCEPSS rescore
  18. 2026-09-24 14:02 UTCEPSS rescore
  19. 2026-09-23 13:46 UTCEPSS rescore
  20. 2026-09-22 14:47 UTCEPSS rescore
  21. 2026-09-20 20:15 UTCEPSS rescore
  22. 2026-09-18 19:27 UTCEPSS rescore
  23. 2026-09-17 07:50 UTCOSV refresh
  24. 2026-09-16 14:06 UTCEPSS rescore
  25. 2026-09-16 05:13 UTCEPSS rescore
Show 75 more
  1. 2026-09-15 03:09 UTCEPSS rescore
  2. 2026-09-13 16:46 UTCEPSS rescore
  3. 2026-09-12 15:00 UTCEPSS rescore
  4. 2026-09-11 14:51 UTCEPSS rescore
  5. 2026-09-11 09:35 UTCEPSS rescore
  6. 2026-09-10 09:33 UTCEPSS rescore
  7. 2026-09-08 21:59 UTCEPSS rescore
  8. 2026-09-06 13:46 UTCEPSS rescore
  9. 2026-09-06 13:46 UTCEPSS rescore
  10. 2026-09-05 15:28 UTCEPSS rescore
  11. 2026-09-04 05:05 UTCEPSS rescore
  12. 2026-09-02 14:11 UTCEPSS rescore
  13. 2026-09-01 13:52 UTCEPSS rescore
  14. 2026-09-01 04:38 UTCEPSS rescore
  15. 2026-08-30 19:16 UTCEPSS rescore
  16. 2026-08-30 01:21 UTCEPSS rescore
  17. 2026-08-29 08:13 UTCOSV refresh
  18. 2026-08-28 21:40 UTCEPSS rescore
  19. 2026-08-27 14:24 UTCEPSS rescore
  20. 2026-08-25 13:47 UTCEPSS rescore
  21. 2026-08-21 23:48 UTCEPSS rescore
  22. 2026-08-20 22:54 UTCEPSS rescore
  23. 2026-08-19 17:03 UTCEPSS rescore
  24. 2026-08-18 13:47 UTCEPSS rescore
  25. 2026-08-17 13:46 UTCEPSS rescore
  26. 2026-08-16 14:55 UTCEPSS rescore
  27. 2026-08-16 02:13 UTCEPSS rescore
  28. 2026-08-16 02:13 UTCEPSS rescore
  29. 2026-08-15 01:29 UTCEPSS rescore
  30. 2026-08-13 21:59 UTCEPSS rescore
  31. 2026-08-12 20:01 UTCOSV refresh
  32. 2026-08-12 13:50 UTCEPSS rescore
  33. 2026-08-10 23:59 UTCEPSS rescore
  34. 2026-08-09 13:45 UTCEPSS rescore
  35. 2026-08-07 16:26 UTCEPSS rescore
  36. 2026-08-06 13:46 UTCEPSS rescore
  37. 2026-08-05 19:16 UTCEPSS rescore
  38. 2026-08-04 15:09 UTCEPSS rescore
  39. 2026-08-04 10:37 UTCEPSS rescore
  40. 2026-08-03 10:35 UTCEPSS rescore
  41. 2026-08-02 02:25 UTCEPSS rescore
  42. 2026-08-01 04:15 UTCEPSS rescore
  43. 2026-07-30 16:27 UTCEPSS rescore
  44. 2026-07-30 01:29 UTCEPSS rescore
  45. 2026-07-28 15:35 UTCEPSS rescore
  46. 2026-07-28 03:24 UTCOSV refresh
  47. 2026-07-27 14:12 UTCEPSS rescore
  48. 2026-07-26 14:53 UTCEPSS rescore
  49. 2026-07-25 14:17 UTCEPSS rescore
  50. 2026-07-24 14:17 UTCEPSS rescore
  51. 2026-07-23 14:17 UTCEPSS rescore
  52. 2026-07-23 02:51 UTCEG score recompute
  53. 2026-07-22 14:07 UTCEPSS rescore
  54. 2026-07-22 14:07 UTCEPSS rescore
  55. 2026-07-21 15:24 UTCEPSS rescore
  56. 2026-07-20 17:07 UTCEPSS rescore
  57. 2026-07-19 14:30 UTCEPSS rescore
  58. 2026-07-19 14:30 UTCEPSS rescore
  59. 2026-07-19 02:28 UTCEPSS rescore
  60. 2026-07-19 02:28 UTCEPSS rescore
  61. 2026-07-18 10:03 UTCEPSS rescore
  62. 2026-07-16 17:02 UTCEPSS rescore
  63. 2026-07-15 16:57 UTCEPSS rescore
  64. 2026-07-15 16:57 UTCEPSS rescore
  65. 2026-07-15 01:59 UTCEPSS rescore
  66. 2026-07-13 22:29 UTCEPSS rescore
  67. 2026-07-13 22:29 UTCEPSS rescore
  68. 2026-07-13 06:12 UTCEPSS rescore
  69. 2026-07-13 06:12 UTCEPSS rescore
  70. 2026-07-12 05:46 UTCEPSS rescore
  71. 2026-07-12 05:46 UTCEPSS rescore
  72. 2026-07-11 08:27 UTCEPSS rescore
  73. 2026-07-11 08:26 UTCEPSS rescore
  74. 2026-07-10 19:41 UTCOSV refresh
  75. 2026-07-09 19:09 UTCEPSS rescore

Frequently asked(5)

What is CVE-2025-24359?
CVE-2025-24359 is a high vulnerability published on January 24, 2025. 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…
When was CVE-2025-24359 disclosed?
CVE-2025-24359 was first published on January 24, 2025, with the most recent update on April 15, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2025-24359 actively exploited?
CVE-2025-24359 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.3% probability of exploitation in the next 30 days (18th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2025-24359?
CVE-2025-24359 has a CVSS v3 base score of 8.4 (NVD).
How do I remediate CVE-2025-24359?
A fix for CVE-2025-24359 is available: update to the fixed version the vendor names in its advisory.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-24359

Explore →

Is Your Infrastructure Affected by CVE-2025-24359?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.