CVE-2026-136510
Recurso sin inicializar en psqlODBC
En resumen
Un atacante remoto, sin usuario ni contraseña, podría afectar de forma limitada al sistema sin que nadie haga nada.
Cómo se ataca
- Se puede atacar por la red, incluso desde internet si el servicio está expuesto.
- Requiere condiciones particulares que el atacante no siempre controla.
- No necesita usuario ni contraseña.
- No necesita que nadie haga nada: ni abrir un archivo ni hacer clic.
Qué puede lograr el atacante
- Modificar parte de la información.
- Hacer más lento o interrumpir parte del servicio.
Cómo corregirla
- Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
- Aplique la actualización o la mitigación que indica el fabricante.
- Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
Recomendaciones para este tipo de fallo
- Aplicar la actualización del fabricante.
- Para quien desarrolla: inicializar siempre la memoria y activar las advertencias del compilador.
A qué afecta
PostgreSQL · psqlODBC
desde 12.02.0000 hasta 18.00.0006 inclusive
Qué es: Uso de memoria o recursos sin inicializar
El programa usa memoria o variables antes de darles un valor, y entrega o usa lo que quedó ahí de antes.
La memoria reservada puede contener restos de datos anteriores. Si el programa la devuelve o la usa sin limpiarla, puede filtrar información sensible o comportarse de forma impredecible.
Guía completa: dónde aparece, cómo se corrige y qué evitarDescripción oficial (en inglés)
A parameter-array execution that fails part-way leaves the rows it has already queued on the statement handle, and the next execution on that handle sends them. After a data-at-execution batch is abandoned, by SQLCancel or a rejected SQLPutData, the next SQLExecDirect sends the failed batch's rows and returns SQL_SUCCESS without sending its own statement. So an application that logs the failure on the same handle has its log entry turned into a silent no-op, while rows it was told had failed are stored. An end user who controls one value in an application's array insert can arrange both halves of that. A second route needs no data-at-execution parameter: when building a later row fails in parameter conversion, the queued rows go to the server ahead of the next parameter array on the handle, inside whatever transaction and session settings are current by then. One variant also writes past the end of a shorter SQL_ATTR_PARAM_STATUS_PTR array supplied by the next statement. The statements that run are the application's own, correctly quoted; no SQL text comes from outside. Versions from psqlODBC 12.02.0000, which introduced batched parameter-array execution, up to and including 18.00.0006 are affected.