CVE-2026-136514: PostgreSQL psqlODBC Use-After-Free

CVE-2026-136514

NVDCVSS scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Vulnerability Summary

psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user's application reads can crash that application, with an honest server and default options, in these cases:

- Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1.
- A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1.
- Rows added through an updatable cursor to a table with child tables or partitions.
- A column whose type is named lo, written with data-at-execution parameters.
- A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table's column information.
- NULL key columns in rows the driver re-reads for an updatable cursor.
- A function called with more output parameters than its result has columns.
- SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves.

The demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated.

Versions up to and including psqlODBC 18.00.0006 are affected.
Severity Level
MEDIUM(6.5)
Published Date
Nov 25, 2026
Last Modified
Nov 25, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.54%Probability
Root Weakness (CWE)
The software reads data past the end, or before the beginning, of the intended buffer.
The product reuses or references memory after it has been freed, which can cause a crash or execution of arbitrary code.
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash or exit.
The product writes data past the end, or before the beginning, of the intended buffer.
CVSS v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • PostgreSQL psqlODBC <= 18.00.0006
Patched Versions
  • PostgreSQL psqlODBC 18.00.0006

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run PostgreSQL psqlODBC and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 25, 2026Published
  • Nov 25, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new PostgreSQL psqlODBC CVEsYou are reading CVE-2026-136514. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 04:06 UTC