Skip to content
Heist/ feed
Back to feed
CriticalFix available

simpleeval — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-32640

SimpleEval is a library for adding evaluatable expressions into python projects. Prior to 1.0.5, objects (including modules) can leak dangerous modules through to direct access inside the sandbox. If the objects you've passed in as names to SimpleEval have modules or other disallowed / dangerous objects available as attrs. Additionally, dangerous functions or modules could be accessed by passing them as callbacks to other safe functions to call. The latest version 1.0.5 has this issue fixed. This vulnerability is fixed in 1.0.5.

Products
simpleeval
Affected versions
0.8.5-1, 0.8.7-1, 0.9.10-0ubuntu1, 0.9.10-1, 0.9.11-1, 0.9.12-1, 0.9.3-1, 0.9.5-1, 0.9.6-1, 0.9.6-2, 1.0.3-1, 1.0.3-1build1, 1.0.7-1
Fixed versions
0.8.7-1ubuntu0.1~esm1, 0.9.10-1+deb11u1build0.20.04.1, 0.9.11-1ubuntu0.1~esm1, 0.9.12-1+deb12u1build0.24.04.1, 0.9.5-1ubuntu0.1~esm1, 1.0.3-1+deb13u1build0.25.10.1, 1.0.3-1+deb13u1build0.26.04.1
CVEs
CVE-2026-32640
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:07 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-32640

core-osv · Original source

Published 16 Mar 2026, 14:19 UTC

SimpleEval is a library for adding evaluatable expressions into python projects. Prior to 1.0.5, objects (including modules) can leak dangerous modules through to direct access inside the sandbox. If the objects you've passed in as names to SimpleEval have modules or other disallowed / dangerous objects available as attrs. Additionally, dangerous functions or modules could be accessed by passing them as callbacks to other safe functions to call. The latest version 1.0.5 has this issue fixed. This vulnerability is fixed in 1.0.5.

osv:UBUNTU-CVE-2026-32640

simpleeval

Fixed versions: 0.8.7-1ubuntu0.1~esm1

simpleeval

Fixed versions: 0.9.5-1ubuntu0.1~esm1

simpleeval

Fixed versions: 0.9.10-1+deb11u1build0.20.04.1

simpleeval

Fixed versions: 0.9.11-1ubuntu0.1~esm1

simpleeval

Fixed versions: 0.9.12-1+deb12u1build0.24.04.1

simpleeval

Fixed versions: 1.0.3-1+deb13u1build0.25.10.1

simpleeval

Fixed versions: Not specified

simpleeval

Fixed versions: 1.0.3-1+deb13u1build0.26.04.1

Complete source record
{
  "id": "8b88a70e1ccbd8d3e87c514bd83ad2a9fdffbe1bddcaf14ce4c13306bc37fcf0",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-32640",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-32640",
    "summary": "SimpleEval is a library for adding evaluatable expressions into python projects. Prior to 1.0.5, objects (including modules) can leak dangerous modules through to direct access inside the sandbox. If the objects you've passed in as names to SimpleEval have modules or other disallowed / dangerous objects available as attrs. Additionally, dangerous functions or modules could be accessed by passing them as callbacks to other safe functions to call. The latest version 1.0.5 has this issue fixed. This vulnerability is fixed in 1.0.5.",
    "evidence": "osv:UBUNTU-CVE-2026-32640",
    "products": [
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8.7-1ubuntu0.1~esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.8.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.7-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.5-1ubuntu0.1~esm1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.9.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.9.5-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.10-1+deb11u1build0.20.04.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.9.6-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.6-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.10-0ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.10-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.11-1ubuntu0.1~esm1",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.9.10-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.11-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.12-1+deb12u1build0.24.04.1",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.9.12-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.0.3-1+deb13u1build0.25.10.1",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.0.3-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.3-1build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.0.7-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "simpleeval",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.0.3-1+deb13u1build0.26.04.1",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.0.3-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.0.3-1build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-32640",
      "aliases": [
        "UBUNTU-CVE-2026-32640"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8.7-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=esm-apps-legacy%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "0.8.5-1",
            "0.8.7-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-simpleeval",
                "binary_version": "0.8.7-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "0.8.7-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.5-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "0.9.3-1",
            "0.9.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-simpleeval",
                "binary_version": "0.9.5-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "0.9.5-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.10-1+deb11u1build0.20.04.1"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "0.9.6-1",
            "0.9.6-2",
            "0.9.10-0ubuntu1",
            "0.9.10-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "0.9.10-1+deb11u1build0.20.04.1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.11-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "0.9.10-1",
            "0.9.11-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "0.9.11-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.12-1+deb12u1build0.24.04.1"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.9.12-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "0.9.12-1+deb12u1build0.24.04.1"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.0.3-1+deb13u1build0.25.10.1"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.0.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "1.0.3-1+deb13u1build0.25.10.1"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.0.3-1build1",
            "1.0.7-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "1.0.7-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.0.3-1+deb13u1build0.26.04.1"
                }
              ]
            }
          ],
          "package": {
            "name": "simpleeval",
            "purl": "pkg:deb/ubuntu/simpleeval?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.0.3-1",
            "1.0.3-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32640.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-simpleeval",
                "binary_version": "1.0.3-1+deb13u1build0.26.04.1"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-17T12:58:10.197035377Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-32640"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-32640",
        "https://www.cve.org/CVERecord?id=CVE-2026-32640",
        "https://github.com/danthedeckie/simpleeval/security/advisories/GHSA-44vg-5wv2-h2hg",
        "https://ubuntu.com/security/notices/USN-8301-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-32640",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/2/score"
  },
  "source_id": "core-osv",
  "document_id": 358264,
  "published_at": "2026-03-16T14:19:00+00:00"
}