Skip to main content

psqlODBC CVE-2026-136514

MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-25 PostgreSQL
6.5
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as database user
  2. Delivery
    Own or modify table/view victim app reads
  3. Exploit
    Alter columns or trigger listed cursor/type condition
  4. Execution
    Driver uses stale column metadata, NULL deref or heap overwrite
  5. Impact
    Crash 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (PostgreSQL) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
PostgreSQL ODBC driver; common DB connector but ODBC-specific subset of deployments
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:postgresql:psqlodbc:*:*:*:*:*:*:*:*
CVE-2026-136507 HIGH
8.1 Nov 25

psqlODBC through 18.00.0006 parses and rebuilds connection strings in several ways that let an attacker-influenced value

CVE-2026-136502 HIGH
8.1 Nov 25

SQL injection in psqlODBC up to and including 18.00.0006 lets remote unauthenticated attackers run SQL with the applicat

CVE-2026-136500 HIGH
8.1 Nov 25

SQL injection in psqlODBC through 18.00.0006 lets an attacker who controls a bound character parameter or a name passed

CVE-2026-136515 HIGH
7.5 Nov 25

Heap corruption in psqlODBC through 18.00.0006 can crash an application or corrupt its memory when it processes attacker

CVE-2026-136505 HIGH
7.5 Nov 25

Extreme sizes and counts handled without range checks in psqlODBC's driver core let 16-bit counters and 2 GiB-scale size

CVE-2026-136509 HIGH
7.5 Nov 25

Heap corruption and driver crashes in psqlODBC (all versions up to and including 18.00.0006) stem from the driver not ve

CVE-2026-136506 HIGH
7.5 Nov 25

SQL injection in psqlODBC through crafted database, schema, table, column, operator, cursor, or parameter identifiers ca

CVE-2026-136512 HIGH
7.5 Nov 25

A client-side memory-corruption flaw in the PostgreSQL ODBC driver (psqlODBC) through 18.00.0006 causes the driver to wr

CVE-2026-136503 HIGH
7.5 Nov 25

Memory-safety defects across several code paths in psqlODBC, the PostgreSQL ODBC driver, allow a hostile or compromised

CVE-2026-120064 HIGH
7.5 Nov 02

Out-of-bounds reads and writes in psqlODBC before 18.00.0006 arise when a host application forwards untrusted column num

CVE-2026-120062 HIGH
7.5 Nov 02

SQL injection in psqlODBC before 18.00.0006 allows an attacker who can influence a table or schema name passed by a host

CVE-2026-120061 HIGH
7.5 Nov 02

A stack-based buffer overflow (CWE-121) in the psqlODBC driver, the official PostgreSQL ODBC driver, lets attacker-influ

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy