Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOperate rogue or MITM PostgreSQL server
-
DeliveryClient connects without SSL server verification
-
ExploitServer returns malicious counts and truncated escapes
-
ExecutionDriver reads out of bounds parsing response
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
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).
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
1DescriptionCVE.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
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 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.
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
Heap out-of-bounds write in the psqlODBC driver (CWE-787) affects all versions before 18.00.0006 and is reachable only w
A heap buffer overflow in psqlODBC's large-object read path lets a malicious or man-in-the-middle PostgreSQL server over
SQL injection in psqlODBC before 18.00.0006 can let an authenticated database user who can create a table that an applic
Format-string handling in psqlODBC before 18.00.0006 can crash applications or disclose client memory when an updatable
Heap memory corruption in psqlODBC versions before 18.00.0005 can be triggered when an application binds 32,769 or more
A stack-based buffer overflow in psqlODBC, the PostgreSQL ODBC driver, affects all releases before 18.00.0006 when updat
Stack buffer over-write in psqlODBC before 18.00.0006 can corrupt an application process that forwards attacker-influenc
psqlODBC before 18.00.0006 on Unix-like systems can expose query text and data to other local users when logging is enab
EUVD-2026-115373
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB