{
  "cveId": "CVE-2025-24359",
  "url": "https://patchblox.com/security/cve/CVE-2025-24359",
  "summary": "CVE-2025-24359 is fixed in python-asteval on 1 platform, first by DEBIAN-CVE-2025-24359, released January 24, 2025. It is not reported as exploited. Patch Radar priority: High.",
  "title": "python-asteval: ASTEVAL is an evaluator of Python expressions and statements",
  "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 \u0060asteval\u0060 library, they can bypass asteval\u0027s restrictions and execute arbitrary Python code in the context of the application using the library. The vulnerability is rooted in how \u0060asteval\u0060 performs handling of \u0060FormattedValue\u0060 AST nodes. In particular, the \u0060on_formattedvalue\u0060 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 \u0060fmt.format(__fstring__=val)\u0060. This vulnerability can be exploited to access protected attributes by intentionally triggering an \u0060AttributeError\u0060 exception. The attacker can then catch the exception and use its \u0060obj\u0060 attribute to gain arbitrary access to sensitive or protected object properties. Version 1.0.6 fixes this issue.",
  "published": "2025-01-24T17:15:16Z",
  "severity": "high",
  "cvss": 8.4,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00278,
  "epssPercentile": 0.2035,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "python-asteval",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.0.6-2",
      "fix": "DEBIAN-CVE-2025-24359",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-24359",
      "released": "2025-01-24T17:15:16Z"
    },
    {
      "platform": "linux",
      "product": "python-asteval",
      "release": "Debian 14",
      "fixedVersion": "1.0.6-2",
      "fix": "DEBIAN-CVE-2025-24359",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-24359",
      "released": "2025-01-24T17:15:16Z"
    },
    {
      "platform": "linux",
      "product": "python-asteval",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "1.0.6-bp156.4.3.1",
      "fix": "OPENSUSE-SU-2025:0052-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-0052-1",
      "released": "2025-02-03T19:01:08Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}