psqlODBC
CVE-2026-136514
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as database user
-
DeliveryOwn or modify table/view victim app reads
-
ExploitAlter columns or trigger listed cursor/type condition
-
ExecutionDriver uses stale column metadata, NULL deref or heap overwrite
-
ImpactCrash consuming application process (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Most cases require an authenticated database user who OWNS a table or view that another user's application reads, against an honest server with default options, plus one specific trigger: columns dropped/added in another session during an updatable-cursor update or a Parse=1 describe; a view with NULL ctid read through an updatable cursor (writes past the row cache); 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 info; NULL key columns in re-read updatable-cursor rows; or a function called with more output parameters than its result has columns. A separate case needs no table ownership: SQLTables()/SQLTablesW() called with empty catalog, schema, and table names together with a NULL TableType dereferences NULL and kills the process that loaded the driver and every session it serves. Limiting factors: only psqlODBC ≤ 18.00.0006 is affected; impact is availability only (crashes), with no demonstrated code execution; and the owner-dependent cases require database privileges and control of a table the victim actually reads. |
| Impact | This is a medium-severity, availability-only defect (CVSS 6.5, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, CWE-476) whose demonstrated impact is process crashes / denial of service, not compromise - C:N and I:N confirm no confidentiality or integrity loss. PR:L is the key limiter: most trigger cases require an authenticated database user who owns a table or view that a victim's application reads, so this is not remotely exploitable against the general public but rather an insider/tenant-abuse risk in multi-user PostgreSQL environments. No KEV listing and no EPSS score are present in the input, and no confirmed working exploit code is supplied - exploitation status is therefore 'no public exploit identified at time of analysis.' The vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with a real-but-not-urgent DoS. Note a data conflict: the input carries an 'RCE' tag, but the description explicitly states code execution has NOT been demonstrated (one case writes past a heap buffer but no RCE shown) - treat RCE as unsubstantiated. One sub-case, the SQLTables()/SQLTablesW() NULL dereference on empty catalog/schema/table plus NULL TableType, is triggered by how the host application calls the driver rather than by a malicious table owner, so it does not require PR:L and can crash the loading process and every session it serves. |
| Exploit ScenarioDerived | An authenticated PostgreSQL user who owns a table or view read by another user's psqlODBC-based application alters its column definitions (or arranges one of the listed cursor/type conditions) mid-session, so the driver references stale column metadata and dereferences NULL or writes past its row cache, crashing the consuming application. With AV:N/AC:L/PR:L the action needs only ordinary database access and no special timing. No public exploit is identified and code execution has not been demonstrated - the observed result is a crash (DoS). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Denial of service in psqlODBC through 18.00.0006 lets a database user who owns a table or view read by another user's application crash that application against an honest server with default options, while a separate SQLTables()/SQLTablesW() call with empty catalog, schema, and table strings plus a NULL TableType can kill the process that loaded the driver and every session it serves. The demonstrated impact is crashes (CVSS 6.5, C:N/I:N/A:H), including one heap-buffer overwrite; code execution has not been demonstrated. No public exploit is identified at time of analysis.
RemediationAI
The supplied data does not state an exact fixed version; upgrade psqlODBC beyond 18.00.0006 to the first release identified in the vendor advisory (https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-hcmw-j9px-6v23) or changelog (https://odbc.postgresql.org/changelog/), and verify the installed driver version before deployment. Until a fixed release is confirmed, reduce exposure by avoiding the documented trigger patterns in applications that read tables owned by other database users: do not use updatable cursors or UseDeclareFetch=1 with volatile-filter views, avoid Parse=1 column describes across concurrent DDL, avoid data-at-execution parameters for columns whose type is named lo, avoid updatable-cursor re-reads with NULL key columns and row additions to partitioned/child tables, and avoid calling SQLTables()/SQLTablesW() with empty catalog/schema/table strings plus a NULL TableType. These changes trade application functionality or performance-updatable cursors and UseDeclareFetch are used for row-positioned updates and fetch batching-and none is a substitute for the vendor fix.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
psqlODBC is PostgreSQL's ODBC driver, a client-side library that maps ODBC API calls onto PostgreSQL protocol operations and relies on cached/described result metadata. The defect class is CWE-476 NULL pointer dereference, but the advisory describes a set of unsafe assumptions that table and column definitions remain stable between statement describe/parse and execution: concurrent DDL during updatable-cursor updates or Parse=1 describes, NULL-ctid views read through updatable cursors (one case writes past a heap buffer), volatile-filter views scrolled backward with UseDeclareFetch=1, rows added through updatable cursors to child/partitioned tables, data-at-execution parameters for a type named lo, DDL on the same connection while another statement still holds column information, NULL key columns in re-read updatable-cursor rows, and output-parameter count mismatches. The SQLTables()/SQLTablesW() case directly dereferences NULL when empty catalog, schema, and table names are supplied together with a NULL TableType. The CPE cpe:2.3:a:postgresql:psqlodbc:*:*:*:*:*:*:*:* confirms all psqlODBC versions through 18.00.0006 are in scope, and CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H indicates an authenticated database user (PR:L) with availability-only impact. The intelligence tags include RCE, but the demonstrated results are crashes; code execution has not been demonstrated.
Know when Psqlodbc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attacker must be an authenticated DB user owning a table the victim's app reads (PR:L, AV:N, AC:L); demonstrated impact is crashes only, so C:N/I:N/A:H.
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
psqlODBC through 18.00.0006 parses and rebuilds connection strings in several ways that let an attacker-influenced value
SQL injection in psqlODBC up to and including 18.00.0006 lets remote unauthenticated attackers run SQL with the applicat
SQL injection in psqlODBC through 18.00.0006 lets an attacker who controls a bound character parameter or a name passed
Heap corruption in psqlODBC through 18.00.0006 can crash an application or corrupt its memory when it processes attacker
Extreme sizes and counts handled without range checks in psqlODBC's driver core let 16-bit counters and 2 GiB-scale size
Heap corruption and driver crashes in psqlODBC (all versions up to and including 18.00.0006) stem from the driver not ve
SQL injection in psqlODBC through crafted database, schema, table, column, operator, cursor, or parameter identifiers ca
A client-side memory-corruption flaw in the PostgreSQL ODBC driver (psqlODBC) through 18.00.0006 causes the driver to wr
Memory-safety defects across several code paths in psqlODBC, the PostgreSQL ODBC driver, allow a hostile or compromised
Out-of-bounds reads and writes in psqlODBC before 18.00.0006 arise when a host application forwards untrusted column num
SQL injection in psqlODBC before 18.00.0006 allows an attacker who can influence a table or schema name passed by a host
A stack-based buffer overflow (CWE-121) in the psqlODBC driver, the official PostgreSQL ODBC driver, lets attacker-influ
NVD
CVE.org
EPSS
GitHub
Exploit-DB