Skip to main content

psqlODBC CVE-2026-120060

| EUVDEUVD-2026-115373 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-02 PostgreSQL
5.9
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

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

  1. Access
    Operate rogue or MITM PostgreSQL server
  2. Delivery
    Client connects without SSL server verification
  3. Exploit
    Server returns malicious counts and truncated escapes
  4. Execution
    Driver reads out of bounds parsing response
  5. Impact
    Crash client or disclose adjacent memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the psqlODBC client (before 18.00.0006) to connect to a PostgreSQL server that is not authenticated under the client's current SSL settings - i.e., an sslmode weak enough to permit a rogue server or MITM to supply response data - and the attacker must control the server's replies to inject an oversized/underflowing row count in SQLBulkOperations, an unbounded index key count in SQLStatistics, or a truncated bytea octal escape sequence. Limiting factors: the attacker must be positioned as the server (not merely reach the client), the user/application must actively initiate the connection (UI:R), and the flaw does not apply where SSL settings already establish a trusted server; the realistic impact is a client-side crash (A:H) with only limited memory disclosure (C:L).

Impact

This is a genuinely medium-severity, lower-urgency issue rather than a high-priority emergency, and the signals are mostly consistent. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H, base 5.9) reflects a reversed threat model: the attacker is a malicious or MITM PostgreSQL server, not a remote attacker hitting a listening service. AV:N applies because data arrives over the network, but AC:H and UI:R meaningfully constrain it - the victim client must initiate a connection to a server that is not authenticated under current SSL settings, and the attacker must control that server's responses. The dominant impact is availability (A:H, client crash) with only low confidentiality exposure (C:L) from the out-of-bounds reads and no integrity impact (I:N), consistent with CWE-125. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified; this absence should not be read as 'low risk,' only as missing data. There is no CISA KEV listing and no confirmed public exploit, and the vuln.today decision label is 'this_month' rather than act_now or emergency - all of which point to patch-on-normal-cadence rather than drop-everything urgency. The practical risk is concentrated in environments where clients connect to untrusted or unverified PostgreSQL endpoints (weak sslmode, potential MITM), where the primary realistic outcome is a denial of service against the client application.

Exploit ScenarioDerived

An attacker who controls a PostgreSQL server (a rogue endpoint, or a MITM position when the client's SSL settings do not verify the server) returns responses carrying malicious row counts, index key counts, or truncated bytea octal escape sequences. When a psqlODBC client before 18.00.0006 calls SQLBulkOperations or SQLStatistics, or decodes the crafted bytea, the driver trusts those server-supplied sizes and reads out of bounds, crashing the client or exposing adjacent memory. No public exploit was identified at the time of analysis, and the high attack complexity plus required client connection to an untrusted server limit opportunistic use.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

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

Alert me

AnalysisAIv1 – Nov 02, 2026

Client-side crash and limited out-of-bounds read affect psqlODBC before 18.00.0006 when the driver connects to a PostgreSQL server that is not trusted under its current SSL settings and the server returns malformed counts or lengths. The flaws are in SQLBulkOperations, SQLStatistics, and bytea octal decoding, and exploitation requires the user or application to initiate the connection to an attacker-controlled or spoofed server. No public exploit was identified at time of analysis, and the vendor has released psqlODBC 18.00.0006 as the fixed version.

RemediationAI

Upgrade psqlODBC to 18.00.0006 or later, as directed by the vendor advisory at https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4mfx-cfxx-c877. Until upgrading, configure SSL settings that authenticate the PostgreSQL server, such as verify-full against a trusted CA, so a rogue server or man-in-the-middle cannot supply the malformed response data; this requires correct CA and hostname configuration and can break connections to self-signed or lab servers. Restrict affected client builds to trusted PostgreSQL servers.

Affected VersionsENISA

psqlODBC 0 <18.00.0006

Affected Packages

euvd psqlodbc fix: 18.00.0006

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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, and the affected CPE is cpe:2.3:a:postgresql:psqlodbc:*:*:*:*:*:*:*:*. The root cause is CWE-125 out-of-bounds read: the driver trusts server-supplied metadata in three code paths. SQLBulkOperations uses a server-supplied row count in a size subtraction that can underflow; SQLStatistics iterates index keys using a server-supplied key count without bounding it to fixed storage; and bytea octal decoding reads up to two bytes past the end of a truncated escape sequence. These defects can crash the client or disclose a limited amount of memory. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H, with the independent assessment noting that the attacker must be positioned as the server, the user must initiate the connection, and the issue does not apply where SSL settings already establish a trusted server.

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
vuln.today AI 5.9 MEDIUM

Malicious/MITM server supplies data over the network (AV:N) only when SSL does not verify the server (AC:H), no client privileges needed (PR:N), victim must connect (UI:R); crash drives A:H with limited over-read (C:L).

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

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

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

Lifecycle Timeline

1
Patch available
Nov 02, 2026 - 20:18 EUVD

DescriptionCVE.org

psqlODBC trusts counts and lengths in server data in three places. SQLBulkOperations uses a server-supplied row count in a size subtraction that can underflow. SQLStatistics iterates index keys using a server-supplied key count without bounding it to the fixed storage. Bytea octal decoding reads up to two bytes past the end of a truncated escape sequence. A server not trusted under current SSL settings can crash the client or make it read out of bounds. Versions before psqlODBC 18.00.0006 are affected.

Threat Intelligence Overview

Prevalence
Medium
official PostgreSQL ODBC driver, common in Windows database-integration deployments
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 N/A
Patch available Yes
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

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

CVE-2026-120058 HIGH
7.5 Nov 02

Heap out-of-bounds write in the psqlODBC driver (CWE-787) affects all versions before 18.00.0006 and is reachable only w

CVE-2026-120057 HIGH
7.5 Nov 02

A heap buffer overflow in psqlODBC's large-object read path lets a malicious or man-in-the-middle PostgreSQL server over

CVE-2026-120065 HIGH
7.1 Nov 02

SQL injection in psqlODBC before 18.00.0006 can let an authenticated database user who can create a table that an applic

CVE-2026-120059 MEDIUM
6.8 Nov 02

Format-string handling in psqlODBC before 18.00.0006 can crash applications or disclose client memory when an updatable

CVE-2026-109448 MEDIUM
5.9 Oct 12

Heap memory corruption in psqlODBC versions before 18.00.0005 can be triggered when an application binds 32,769 or more

CVE-2026-120067 MEDIUM
5.9 Nov 02

A stack-based buffer overflow in psqlODBC, the PostgreSQL ODBC driver, affects all releases before 18.00.0006 when updat

CVE-2026-120063 MEDIUM
5.9 Nov 02

Stack buffer over-write in psqlODBC before 18.00.0006 can corrupt an application process that forwards attacker-influenc

CVE-2026-120066 MEDIUM
5.3 Nov 02

psqlODBC before 18.00.0006 on Unix-like systems can expose query text and data to other local users when logging is enab

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