Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.5CVE-2026-136509

CVE-2026-136509: Driver does not check that server replies match the queries it sent

PostgreSQL psqlODBC

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-136509: vulnerabilidad de severidad alta (CVSS 7.5) en PostgreSQL psqlODBC.

Qué ocurre

Descripción original de la fuente (en inglés): psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row has the described number of columns, that one query produces one result, and that a COPY, a transaction or the connection ends where the protocol says. By sending replies that do not match, a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable) can corrupt memory in the application: - A FETCH reply with more rows than requested overflows the row cache. - Extra results in reply to a FETCH, or to the queries of a keyset-driven cursor, are freed while still in use. - A key query of a keyset-driven cursor answered with extra columns, or a re-read row with fewer columns, overflows the row cache. - Replies without columns or rows, or with NULL values, to the driver's internal queries at connect time and in catalog functions are dereferenced. - A malformed relacl value in SQLTablePrivileges() makes the driver write past a buffer. - On Windows with MSDTC, a long transaction name returned by the server overflows a buffer during recovery. - Values in replies to the driver's internal queries are used without checking their range: an empty column name, a parameter count, a large-object size, a function's or trigger's argument count, and a result of exactly 32767 columns. They are dereferenced, read past, returned to the application or sent back to the server as stack memory, or make the driver loop forever. - A reply that ends a COPY, the connection or the transaction at an unexpected point leaves freed results, keysets or table information in use: a CopyOutRespo…

Por qué importa

Severidad alta, CVSS 7.5.

Productos y versiones afectados

PostgreSQL psqlODBC <= 18.00.0006

ProductoVersionesCorregido en
PostgreSQL psqlODBC<= 18.00.0006—

Acción recomendada por la fuente

Consultá las referencias oficiales para conocer la corrección o mitigación.

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-787, CWE-416, CWE-476

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.