VDB

CVE-2025-22153

CVE-2025-22153 PUBLISHED CVSS 7.9 HIGH

Reported by github_m · Published January 23, 2025

RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0 and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of RestrictedPython by removing support for `try/except*` clauses. No known workarounds are available.

Risk scores

CVSS 3.1
7.9
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L

Affected products

VendorProductVersions
zopefoundationRestrictedPython>= 6.0, < 8.0
zopefoundationRestrictedPython6.0
PyPIRestrictedPython6.0

Timeline

  • Jan 23, 2025 CVE Published
  • Jan 23, 2025 Coalition ESS Score (9 in total, the first dated here)
  • Jan 23, 2025 PoC Published (3 in total, the first dated here)
  • Jan 24, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 12, 2025 CVE Updated
  • Dec 21, 2025 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-22153
vulnetix vdb fixes CVE-2025-22153

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22153/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›