#VU122976 Type conversion in Python - CVE-2025-12781

 

#VU122976 Type conversion in Python - CVE-2025-12781

Published: February 17, 2026


Vulnerability identifier: #VU122976
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-12781
CWE-ID: CWE-704
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Python
Software vendor:
Python.org

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to a type conversion issue in b64decode(), standard_b64decode(), and urlsafe_b64decode() functions when parsing strings with "+" or "/" character. A remote attacker send specially crafted data to the application that can bypass implemented security restrictions.


Remediation

Install updates from vendor's website.

External links