Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.5CVE-2026-136509

psqlODBC: memory corruption due to unvalidated server replies

Published 25/11/2026 · Updated 25/11/2026 · PostgreSQL psqlODBC

Summary

psqlODBC (the PostgreSQL ODBC driver) does not verify that server replies match the queries it sent. Examples include a FETCH returning more rows than requested, rows with the wrong column count, extra results, an unexpected end of a COPY, transaction or connection, and malformed values in internal queries. The consequences are out-of-bounds writes, use-after-free, NULL pointer dereferences and infinite loops. Additional cases exist on Windows with MSDTC. This continues the fixes for CVE-2026-120058 and CVE-2026-120060.

CVSS 7.5 (AV:N/AC:H/PR:N/UI:R): the attack is network-based and needs no authentication, but has high complexity and requires user interaction. The attacker must control a hostile or compromised server, or sit on the network path of a connection that does not use sslmode=verify-full. The default setting is disable.

Demonstrated impacts are application crashes and heap corruption. Code execution has not been demonstrated, but the vector rates confidentiality, integrity and availability impact as high.

Who is affected

Organizations whose applications access PostgreSQL through the psqlODBC driver version 18.00.0006 or earlier, especially on Windows and over unencrypted or unverified connections.

What to do

  1. Inventory systems with psqlODBC installed and check the version (versions ≤ 18.00.0006 are affected).
  2. No fixed version is listed in the record. Check the official advisory (GHSA-98mx-57hv-xjpr and https://odbc.postgresql.org/changelog/) and install the fixed release as soon as it is available.
  3. Set sslmode=verify-full in DSNs and connection strings to prevent on-path attacks.
  4. Connect only to trusted PostgreSQL servers and monitor crashes of ODBC-based applications.

Affected products and versions

PostgreSQL psqlODBC≤ 18.00.0006

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.