CVE-2025-12781Python
Media 6.3 Sin autenticación
Seguir: esta CVE · Python · Python Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 4.0
- 6.3
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 56
- Requiere autenticación
- No
- Publicada
- 21 ene 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-704
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the "base64" module the characters "+/" will always be accepted, regardless of the value of "altchars" parameter, typically used to establish an "alternative base64 alphabet" such as the URL safe alphabet. This behavior matches what is recommended in earlier base64 RFCs, but newer RFCs now recommend either dropping characters outside the specified base64 alphabet or raising an error. The old behavior has the possibility of causing data integrity issues.
This behavior can only be insecure if your application uses an alternate base64 alphabet (without "+/"). If your application does not use the "altchars" parameter or the urlsafe_b64decode() function, then your application does not use an alternative base64 alphabet.
The attached patches DOES NOT make the base64-decode behavior raise an error, as this would be a change in behavior and break existing programs. Instead, the patch deprecates the behavior which will be replaced with the newly recommended behavior in a future version of Python. Users are recommended to mitigate by verifying user-controlled inputs match the base64
alphabet they are expecting or verify that their application would not be
affected if the b64decode() functions accepted "+" or "/" outside of altchars.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Python.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| python | python | < 3.13.10 |
| python | python | ≥ 3.14.0 < 3.14.1 |
| python | python | 3.15.0 |
Boletines oficiales
- Security update for python311 · SUSE · SUSE-SU-2026:20665-1 · 10 mar 2026 Media
- Security update for python311 · SUSE · SUSE-SU-2026:20710-1 · 9 mar 2026 Media
- Security update for python311 · SUSE · SUSE-SU-2026:0767-1 · 3 mar 2026 Media
Además: SUSE (+5)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Exploit Issue Tracking
- github.com Issue Tracking Patch
- mail.python.org Mailing List Vendor Advisory