{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-22153","published":"2025-01-23T18:15:33.267000Z","last_modified":"2026-06-17T08:45:23.500000Z","status":"Deferred","cvss":{"version":"3.1","score":7.9,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-843"],"cpes":[],"cpes_truncated":false,"vendors":["zopefoundation"],"products":["zopefoundation/restrictedpython"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00678,"percentile":0.4747,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-gmj9-h825-chq2","ecosystem":"PyPI","name":"restrictedpython","purl":"pkg:pypi/restrictedpython","ranges":[{"introduced":"6.0","fixed":"8.0"}],"versions":["6.0","6.1","6.2","7.0","7.0a1.dev0","7.0a1.dev1","7.0a2.dev0","7.1","7.2","7.2a1.dev0","7.3","7.4"],"versions_truncated":false},{"advisory":"PYSEC-2026-1874","ecosystem":"PyPI","name":"restrictedpython","purl":"pkg:pypi/restrictedpython","ranges":[{"introduced":"6.0","fixed":"8.0"}],"versions":["6.0","6.1","6.2","7.0","7.0a1.dev0","7.0a1.dev1","7.0a2.dev0","7.1","7.2","7.2a1.dev0","7.3","7.4"],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-22153/","html_en":"/en/cve/CVE-2025-22153/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-22153","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-22153"},"untrusted":{"vendor_name":"zopefoundation","product_name":"RestrictedPython","desc_en":"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.","affected":[{"untrusted_vendor":"zopefoundation","untrusted_product":"RestrictedPython","versions":[]}],"references":[{"url":"https://github.com/zopefoundation/RestrictedPython/commit/48a92c5bb617a647cffd0dadd4d5cfe626bcdb2f","tags":[]},{"url":"https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-gmj9-h825-chq2","tags":[]}]}}