CVE-2025-22153

python3-restrictedpython: RestrictedPython is a tool that helps to define a subset of the Pythonlanguage which allows to provide a program inpu...

CVE-2025-22153 is fixed in 2 products on 1 platform, first by python3-restrictedpython 6.2-1ubuntu0.24.04.1~esm1, released January 23, 2025. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.9
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0040
34th percentile

RestrictedPython is a tool that helps to define a subset of the Pythonlanguage which allows to provide a program input into a trustedenvironment. Via a type confusion bug in versions of the CPythoninterpreter 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 bebypassed. The issue is patched in version 8.0 of RestrictedPython byremoving support for `try/except*` clauses. No known workarounds areavailable.

Where it's fixed

ProductFixed inFixReleased
Linux
python3-restrictedpython · Ubuntu 24.04.5 LTS (noble) 6.2-1ubuntu0.24.04.1~esm1 python3-restrictedpython 6.2-1ubuntu0.24.04.1~esm1 Jan 23, 2025
python3-restrictedpython · Ubuntu 24.10 (oracular) 6.2-1ubuntu0.24.10.1 python3-restrictedpython 6.2-1ubuntu0.24.10.1 Jan 16, 2026
restrictedpython · Debian 13.5 (trixie) 8.0-1 DEBIAN-CVE-2025-22153 Jan 23, 2025
restrictedpython · Debian 14 8.0-1 DEBIAN-CVE-2025-22153 Jan 23, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.