Skip to main content

Psqlodbc

32 CVEs product

Monthly

CVE-2026-138406 Nov 29, 18:01 HIGH This Week

DLL planting in psqlODBC’s Windows MSDTC enlistment path lets a local user who can write to an application directory, the current directory, or a PATH directory execute code under the account of an application that enlists in MSDTC. Affected are Windows builds of psqlODBC up to and including 18.00.0007 that were compiled with Visual C++ 14 or later; Unix builds and applications that never set SQL_ATTR_ENLIST_IN_DTC are not exposed. The flaw is local-only and requires a second local user with pre-existing write access to a searched directory; no public exploit was identified at time of analysis.

Windows Information Disclosure PostgreSQL Microsoft Psqlodbc
NVD GitHub VulDB
CVSS 3.1
7.3
EPSS
0.2%
CVE-2026-136515 Nov 25, 22:25 HIGH This Week

Heap corruption in psqlODBC through 18.00.0006 can crash an application or corrupt its memory when it processes attacker-controlled SQL text on a keyset-driven or dynamic cursor with non-read-only concurrency, or when output parameters are used. The flaw arises from statement-rewrite position tracking in the driver: failed SQLExecDirect calls, malformed or nested {fn ...} escapes, @@identity translation, and {? = call ...} with unbound return values can cause out-of-bounds writes, negative lengths, stack exhaustion, or NULL dereference. The assessed impact is low integrity and high availability with no confidentiality impact; code execution has not been demonstrated, and no public exploit was identified at time of analysis.

RCE Buffer Overflow PostgreSQL Memory Corruption Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.5%
CVE-2026-136512 Nov 25, 22:25 HIGH This Week

A client-side memory-corruption flaw in the PostgreSQL ODBC driver (psqlODBC) through 18.00.0006 causes the driver to write data larger than the buffer an application allocated when column or parameter types reported at describe time differ from the actual type at fetch time; the original report documents a 12-byte overflow past a 4-byte buffer for a uuid and larger corruption in multi-row array fetches, plus several additional out-of-bounds writes across other conversion paths, a stack overflow on a NULL-bound output parameter, and a heap corruption via a bad free in SQLBulkOperations(SQL_ADD) keyset bookkeeping. Triggering the flaw requires the application to bind as SQL_C_DEFAULT and then hit a specific type mismatch or cursor condition, and requires a hostile or compromised server, an on-path attacker on a connection without sslmode=verify-full (the default is disable), or the owner of a table the application reads. CVSS 3.1 scores it 7.5 (AV:N/AC:H/PR:N/UI:R) with high confidentiality, integrity and availability impact; no public exploit code and no confirmed active exploitation were identified at time of analysis.

Buffer Overflow PostgreSQL Memory Corruption Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.4%
CVE-2026-136509 Nov 25, 22:25 HIGH This Week

Heap corruption and driver crashes in psqlODBC (all versions up to and including 18.00.0006) stem from the driver not verifying that server replies match the query it sent, so a hostile or compromised PostgreSQL server - or anyone positioned on the network path of a connection that does not use sslmode=verify-full, noting the driver default is sslmode=disable - can overflow row caches, free results still in use, dereference missing rows/columns, write past buffers with a malformed relacl value, and loop or crash on replies that end a COPY, transaction or connection at an unexpected point. Separate branches affect eight Unicode entry points that omit the null terminator when a value does not fit the caller's buffer, Windows start-up replies lacking client_encoding, MSDTC/XA recovery with a long transaction name, and the SQLSTATE string returned by SQLGetDiagRecW(). The assessed severity is HIGH (CVSS 7.5, CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H); demonstrated results are crashes and heap corruption, code execution has not been demonstrated, no public exploit was identified at time of analysis, and the issue continues the fixes for CVE-2026-120058 and CVE-2026-120060 which addressed other reply types.

RCE Buffer Overflow PostgreSQL Memory Corruption Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.5%
CVE-2026-136507 Nov 25, 22:25 HIGH This Week

psqlODBC through 18.00.0006 parses and rebuilds connection strings in several ways that let an attacker-influenced value - a password, user name, or any other field the host application interpolates - break out of its braced value and inject additional connection keywords, which can redirect the application to a server the attacker controls. The same parsing flaws provide a stack-overflow path: on Windows with MSDTC the unescaped XA open string is copied into a 64-byte stack buffer in the process that loads the XA library, and percent-encoding a long password writes one byte past a 4096-byte stack buffer. Exploitation is conditional on the host application placing an end-user-controlled value into the connection string, is high-complexity per the CVSS vector (AV:N/AC:H/PR:N/UI:N), and no public exploit has been identified at time of analysis; the vendor advisory is GHSA-7638-f7xp-wv22.

Buffer Overflow PostgreSQL Microsoft Psqlodbc
NVD GitHub
CVSS 3.1
8.1
EPSS
0.5%
CVE-2026-136506 Nov 25, 22:25 HIGH This Week

SQL injection in psqlODBC through crafted database, schema, table, column, operator, cursor, or parameter identifiers can let an authenticated database user with object-creation rights - or an end user who can supply cursor or parameter names to the application - execute SQL with the application's database role privileges. All versions up to and including 18.00.0006 are affected, and the 18.00.0006 fix for the related CVE-2026-120065 does not cover the SQLSetPos()/SQLBulkOperations() column-name sinks. No public exploit identified at time of analysis.

SQLi PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.5%
CVE-2026-136505 Nov 25, 22:25 HIGH This Week

Extreme sizes and counts handled without range checks in psqlODBC's driver core let 16-bit counters and 2 GiB-scale size computations wrap, producing heap buffer overflows, out-of-bounds reads and a double free inside whatever client application loads the driver. All builds up to and including psqlODBC 18.00.0006 are affected, covering the statement-attribute, descriptor (APD/IPD/ARD), parameter-conversion, SQLGetData, SQLGetDiagField, bookmark and updatable-cursor rollback-log code paths; the assessed vector is remote but high-complexity with low privileges required (AV:N/AC:H/PR:L/UI:N), and the remote sub-cases depend on connecting to a malicious or compromised PostgreSQL server, on statement text or data supplied by an end user, or on a database user who controls the size of a table or value. Demonstrated impact is denial of service and heap corruption - code execution has not been demonstrated - and no public exploit code was identified at time of analysis, with no CISA KEV entry.

RCE PostgreSQL Integer Overflow Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.5%
CVE-2026-136503 Nov 25, 22:25 HIGH This Week

Memory-safety defects across several code paths in psqlODBC, the PostgreSQL ODBC driver, allow a hostile or compromised server - or anyone positioned on the network path of a connection not using sslmode=verify-full - to drive use-after-free, double-free and out-of-bounds write conditions in the client application, with demonstrated results of crashes and heap corruption; code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected, and several cases are gated behind non-default driver options (FetchRefcursors=1, UseDeclareFetch=1) or a process named sqlservr talking to a server older than 8.4, while the UseDeclareFetch and SQLGetData cases can also be reached against an honest server by a database user who can force a statement to fail or control a row the application reads. The CVSS 7.5 score is driven by high confidentiality, integrity and availability weights, but the assessed vector (AC:H, UI:R, C:L/I:L) reflects complex, in places re-entrant or timing-dependent triggers and damage largely limited to the client process; no public exploit code or CISA KEV entry was identified at time of analysis, and priority is this-week rather than emergency.

RCE PostgreSQL Use After Free Memory Corruption Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.6%
CVE-2026-136502 Nov 25, 22:25 HIGH This Week

SQL injection in psqlODBC up to and including 18.00.0006 lets remote unauthenticated attackers run SQL with the application's database role whenever an application routes attacker-influenced text into statement text, parameter values, or the ConnSettings connection option. The root cause is the driver's client-side SQL scanner disagreeing with the PostgreSQL server's lexer across lowercase e'...' escape constants, dollar-quote tags containing '_', '}' inside quoted literals within ODBC {d/t/ts/escape ...} sequences, trailing '--' comments in batched parameter arrays, updatable-cursor FROM/WHERE lookup, '/*/' comment handling, embedded NUL bytes in integer parameters, and semicolon-split ConnSettings, so text the driver treats as data reaches the server as code. A second variant lets a database user who can create a table with a crafted name (containing '$', or a quoted name beginning with ',' or ';') redirect another user's positioned updates, inserts and deletes; no public exploit identified at time of analysis, and the assessed AC:H reflects that exploitation depends on the application actually feeding untrusted input into these driver paths.

SQLi PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
8.1
EPSS
0.5%
CVE-2026-136501 Nov 25, 22:25 HIGH This Week

psqlODBC through 18.00.0006 can resolve a statement's table or column name to a different catalog object than the PostgreSQL server would choose, letting a low-privileged, authenticated database user redirect another user's positioned UPDATE/INSERT/DELETE - or the driver's @@IDENTITY default evaluation - onto a table they control, where the statement runs with the victim's rights. Exploitation requires an authenticated user holding CREATE rights on a schema that sits on the victim's search_path, plus a victim who actively uses the driver against the colliding names (CVSS 3.1: 7.1, AV:N/AC:H/PR:L/UI:R), and several sub-cases are gated by deployment specifics such as LATIN1/SQL_ASCII server encoding, a Turkish or Azeri locale on a non-Windows host, Parse=1, or search_path changes made by means other than a plain SET. This is a genuine integrity-focused risk but not a mass-exploitation emergency; it is not reported as confirmed actively exploited (CISA KEV) and no public exploit identified at time of analysis, with vendor priority rated this_week.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
7.1
EPSS
0.4%
CVE-2026-136500 Nov 25, 22:25 HIGH This Week

SQL injection in psqlODBC through 18.00.0006 lets an attacker who controls a bound character parameter or a name passed to a catalog function such as SQLTables() execute SQL with the application's database role rights, but only on a non-UTF-8 connection using the ANSI driver or ANSI entry points with BIG5 via an accepted alias (WIN950, Windows950, big-5) or JOHAB, EUC_TW, EUC_CN, or EUC_KR. Bound-parameter exploitation additionally requires the driver to substitute parameters itself, as with UseServerSidePrepare=0 or a cursor type other than forward-only. UTF-8 connections, the Unicode driver, server-side prepared statements with forward-only cursors, and other encodings are unaffected; the CVSS 8.1 vector is AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, and no public exploit was identified at time of analysis.

SQLi PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
8.1
EPSS
0.5%
CVE-2026-120065 Nov 02, 19:09 HIGH PATCH This Week

SQL injection in psqlODBC before 18.00.0006 can let an authenticated database user who can create a table that an application reads with an updatable cursor manipulate the driver's keyset and positioned SQL, including which rows a positioned UPDATE or DELETE affects. The flaw triggers when the table lacks OIDs, uses an auto-increment int4 column as the row identifier, and that column's server-reported name contains a double quote that the driver fails to escape. No public exploit identified at time of analysis; exploitation is conditional on the application using updatable cursors and performing positioned operations, and requires user interaction per the CVSS vector.

SQLi PostgreSQL Red Hat Psqlodbc
NVD GitHub VulDB
CVSS 3.1
7.1
EPSS
0.3%
CVE-2026-120064 Nov 02, 19:09 HIGH PATCH This Week

Out-of-bounds reads and writes in psqlODBC before 18.00.0006 arise when a host application forwards untrusted column numbers or row indices into ODBC entry points such as SQLBindCol, SQLColAttribute and SQLSetPos(SQL_ADD), which the driver uses directly as array indices without validation. This is not a default-configuration remote condition: the limiting factor is that the calling application must itself relay attacker-controlled index values to these APIs, which is why the assessed vector carries high attack complexity (AC:H) and a low-privilege requirement (PR:L) alongside high confidentiality, integrity and availability impact. No public exploit identified at time of analysis; the vendor fix is psqlODBC 18.00.0006.

Buffer Overflow PostgreSQL Red Hat Psqlodbc
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.3%
CVE-2026-120062 Nov 02, 19:09 HIGH PATCH This Week

SQL injection in psqlODBC before 18.00.0006 allows an attacker who can influence a table or schema name passed by a host application to SQLSpecialColumns to execute arbitrary SQL with the privileges of the existing database connection. Only SQLSpecialColumns is affected because it fails to escape these identifiers, while the other catalog functions do escape them; applications that pass only trusted or hardcoded identifiers to that function are not exploitable. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, and no public exploit was identified at time of analysis.

SQLi PostgreSQL Red Hat Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.4%
CVE-2026-120061 Nov 02, 19:09 HIGH PATCH This Week

A stack-based buffer overflow (CWE-121) in the psqlODBC driver, the official PostgreSQL ODBC driver, lets attacker-influenced SQL text corrupt the memory of any application that forwards it through the driver. Two triggers exist: a {fn ...} ODBC escape with more than 16 argument offsets overflows a fixed 16-entry stack array (and referencing an unsupplied argument copies uninitialized bytes into the query), while copying the body of a {d}, {t}, {ts}, or {escape} escape writes one byte past a 128-byte stack buffer. All versions before 18.00.0006 are affected; no public exploit code was identified at time of analysis, and exposure is confined to applications that pass raw, untrusted SQL text to the driver rather than parameterized queries.

Buffer Overflow PostgreSQL Stack Overflow Red Hat Psqlodbc
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.3%
CVE-2026-120058 Nov 02, 19:09 HIGH PATCH This Week

Heap out-of-bounds write in the psqlODBC driver (CWE-787) affects all versions before 18.00.0006 and is reachable only when the UseDeclareFetch option is enabled. The driver sizes its row cache from the column count of a cursor's first result, then accepts a different column count from later FETCH replies; a PostgreSQL server that is not trusted under the current SSL settings can return extra columns and drive writes past the end of the heap allocation, with a keyset reply containing fewer columns than the key fields also causing an unsigned field-count underflow. Unauthenticated remote attackers can exploit this only from a malicious or impersonated backend position, requiring user interaction (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.5); no public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor-released fix is 18.00.0006.

Buffer Overflow PostgreSQL Memory Corruption Red Hat Psqlodbc
NVD GitHub
CVSS 3.1
7.5
EPSS
0.3%
CVE-2026-120057 Nov 02, 19:09 HIGH PATCH This Week

A heap buffer overflow in psqlODBC's large-object read path lets a malicious or man-in-the-middle PostgreSQL server overwrite adjacent memory in the client process with server-chosen bytes: the driver trusts the byte count in the loread reply and copies that many bytes into the application-supplied buffer without comparing it to the buffer size. All psqlODBC versions before 18.00.0006 are affected, and any application that fetches a large-object column triggers the vulnerable code path. Exploitation is conditional rather than opportunistic - the client must connect to a server it does not trust under its current SSL settings (for example with certificate verification disabled) or an attacker must hold a man-in-the-middle position, and the assessed vector (AC:H, UI:R, PR:N) reflects that a network position or rogue server plus a large-object fetch is required; no public exploit has been identified at time of analysis and the flaw is not in CISA KEV, so priority is patch-this-cycle rather than emergency response.

Buffer Overflow PostgreSQL Red Hat Psqlodbc
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.2%
CVE-2026-138405 Nov 29, 18:01 MEDIUM This Month

psqlODBC through 18.00.0007 writes connection-string passwords into its debug log without masking them whenever the password is supplied under a keyword its redaction routine fails to match - ' PWD', 'PWD ', 'Passwd', 'sslpassword', or any keyword the driver does not recognise, including a misspelled one - while an exact 'PWD' or 'Password' is masked correctly. Even properly masked secrets are replaced one character at a time, so the log discloses the exact length of the password and of each secret in pqopt. Real-world exposure is constrained: the Debug log is off by default and only an administrator can enable it, and an attacker must be an authenticated local user who can read the resulting log file, which in practice is a log attached to a bug report or sent to support; no public exploit identified at time of analysis, and this medium-severity information-disclosure issue is separate from CVE-2026-136504 (addressed in 18.00.0007), whose masking faults remain unfixed in that release.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub VulDB
CVSS 3.1
5.0
EPSS
0.2%
CVE-2026-138404 Nov 29, 18:01 MEDIUM This Month

psqlODBC through 18.00.0007, when Debug or CommLog logging is enabled, writes SQL text, result data and connection details to predictably named, PID-suffixed log files in shared locations - /tmp by default on Unix-like systems and C:\ on Windows. On Unix, the vendor's earlier symlink fix (18.00.0006) checks that the log path is a regular file owned by the calling user but not whether it has other hard links, so a local user can hard-link a victim-owned file into the log path and have the driver append to it; a FIFO at the log path (not covered by the earlier fix) instead blocks the application until someone reads from it. On Windows no such checks exist, so a log created in C:\ by a service or elevated process inherits that directory's permissive ACLs and can be read - and in a default-permission directory created under C:\ also modified - by other local users, with an attacker-created file at the log path used as-is; the MSDTC log in C:\ or C:\pgdtclog is handled the same way. Exploitation requires non-default logging enabled by an administrator, a local account on the same host, and on Unix a race against the predictable PID-based filename; no public exploit was identified at time of analysis.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub VulDB
CVSS 3.1
6.3
EPSS
0.2%
CVE-2026-136514 Nov 25, 22:25 MEDIUM This Month

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.

Denial Of Service PostgreSQL Null Pointer Dereference Psqlodbc
NVD GitHub
CVSS 3.1
6.5
EPSS
0.5%
CVE-2026-136513 Nov 25, 22:25 LOW Monitor

psqlODBC, the PostgreSQL ODBC driver, resolves the fallback log location as a literal unexpanded '~' path relative to the process's current working directory when Debug or CommLog logging is enabled and the configured log directory is unusable. Any version up to and including 18.00.0006 is affected, and a local authenticated low-privileged user who controls a directory along that resolved path can cause the victim's mylog_*.log and psqlodbc_*.log files to be created in arbitrary directories writable by the victim, or can leave the victim's process blocked in open(). Exploitation requires the non-default logging configuration, a broken primary log directory and attacker control of a specific path component, so real-world exposure is narrow; no public exploit code or active exploitation is identified at time of analysis, and the input decision is 'monitor'.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
3.6
EPSS
0.2%
CVE-2026-136511 Nov 25, 22:25 MEDIUM This Month

A fail-open TLS configuration flaw in psqlODBC up to and including 18.00.0006 causes unrecognized SSLmode spellings - such as 'SSLmode=Require', 'SSLmode=Verify-Full', 'SSLmode={require}' or 'SSLmode={verify-full}' - to be silently mapped to 'disable', with SQLDriverConnect() returning SQL_SUCCESS and no diagnostic. An operator who believes encryption is mandated instead transmits in cleartext, allowing an attacker positioned on the network path to read and modify connection traffic. Deployments using the exact lowercase 'sslmode=require' or 'sslmode=verify-full' spelling are unaffected, and no public exploit code or confirmed active exploitation was identified at time of analysis.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
6.8
EPSS
0.4%
CVE-2026-136510 Nov 25, 22:25 MEDIUM This Month

State leakage in the PostgreSQL ODBC driver psqlODBC (12.02.0000 through 18.00.0006) lets rows from an abandoned batched parameter-array execution be transmitted to the server by the next SQLExecDirect issued on the same statement handle, which then returns SQL_SUCCESS without sending its own statement - so a failed batch's rows are silently stored while the application's follow-up statement, such as an error log entry, becomes a no-op. An end user who controls a single value in an application's array insert can arrange both halves of this, and a second route triggers without data-at-execution parameters when a later row fails during parameter conversion, sending queued rows into whatever transaction and session context is current; one variant also writes past the end of a shorter SQL_ATTR_PARAM_STATUS_PTR array provided by the next statement. No SQL injection is involved - the statements executed are the application's own correctly quoted text - and exploitation requires a specific failure-then-handle-reuse ordering (AC:H), with no public exploit identified at time of analysis.

PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
4.8
EPSS
0.4%
CVE-2026-136508 Nov 25, 22:25 MEDIUM This Month

psqlODBC on Windows fails to carry the application's TLS and connection-security settings onto the extra connections that it and its XA library open to complete a distributed (MSDTC-coordinated) transaction, so an on-path attacker without a certificate or credentials can steer those connections to a server of their choosing without TLS, read and alter the traffic, and determine the outcome MSDTC records. All versions up to and including 18.00.0006 are affected, but exploitation is conditional rather than opportunistic: it requires a Windows deployment where distributed transactions are actually in use, the application must trigger the transaction (UI:R), and the attacker must hold a man-in-the-middle position between the MSDTC host and the PostgreSQL server (reflected in AC:H). No public exploit has been identified at time of analysis, and because this is a security-setting downgrade (CWE-757) rather than a memory-safety or code-execution bug, the realistic impact is disclosure and tampering of XA transaction traffic against data sources that were hardened with sslmode=verify-full, verify-ca, or channel_binding=require.

Information Disclosure PostgreSQL Microsoft Psqlodbc
NVD GitHub
CVSS 3.1
6.8
EPSS
0.2%
CVE-2026-136504 Nov 25, 22:25 MEDIUM This Month

psqlODBC through 18.00.0006 can write database passwords in clear text to its optional MyLog debug log when the 'Test' button is used in the Windows DSN setup dialog or when the Unicode connect functions SQLDriverConnectW, SQLConnectW, and SQLBrowseConnectW are invoked. MyLog is off by default and must be enabled by an administrator, and exposure occurs only if the resulting log is later read or shared, such as in a support case or bug report. This is a local, low-privilege information-disclosure issue (CWE-532) with user interaction required and no public exploit identified at time of analysis.

Windows PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
5.0
EPSS
0.2%
CVE-2026-136499 Nov 25, 22:25 MEDIUM This Month

psqlODBC, the PostgreSQL ODBC driver, can disclose uninitialized heap or stack memory and application buffer contents in versions up to and including 18.00.0006, through seven distinct code paths rather than one single default-configuration attack. Depending on the path, an end user supplying a parameter value, a database user who has stored a long bytea or large-object value, or a hostile/compromised PostgreSQL server can obtain memory from the client application process, which may contain other users' data or credentials; remote attackers are the relevant threat per the CVSS vector (AV:N/PR:N), with high confidentiality impact and no integrity or availability effect. Several variants depend on non-default settings (RowVersioning=1, UseDeclareFetch=1, UseServerSidePrepare=0), specific application binding or ODBC API sequencing, or observation of an unencrypted connection; no public exploit code and no active exploitation were identified at time of analysis, and the issue is assessed as a genuine but moderate-priority information-disclosure problem rather than a high-urgency emergency.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
CVSS 3.1
5.9
EPSS
0.5%
CVE-2026-120067 Nov 02, 19:09 MEDIUM PATCH This Month

A stack-based buffer overflow in psqlODBC, the PostgreSQL ODBC driver, affects all releases before 18.00.0006 when updatable cursors are used - and they are enabled by default. The driver copies the server-supplied ctid (and oid, for tables with OIDs) value into a fixed 32-byte stack buffer using the server-declared length without validating it against the buffer size, so a value of 32 bytes or more overwrites adjacent stack memory; builds compiled with _FORTIFY_SOURCE abort instead. Reaching the flaw needs a specific attacker position: either a PostgreSQL server the client does not trust under its current SSL/TLS settings (malicious or man-in-the-middle server) or a database user able to create a view with its own column named ctid that the application then reads through an updatable cursor; the assessed vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) rates this medium severity with availability-only impact, and no public exploit or active exploitation has been reported.

Buffer Overflow PostgreSQL Stack Overflow Red Hat Psqlodbc
NVD GitHub VulDB
CVSS 3.1
5.9
EPSS
0.3%
CVE-2026-120066 Nov 02, 19:09 MEDIUM PATCH This Month

psqlODBC before 18.00.0006 on Unix-like systems can expose query text and data to other local users when logging is enabled, because log files are created in /tmp with predictable names and default permissions. A local authenticated attacker can read a victim's logs or pre-place a symbolic link at the predictable path so the driver appends log data to an attacker-chosen file with the victim's privileges. Exploitation requires logging to be explicitly enabled and a separate local account on the same host; no public exploit identified at time of analysis, and the issue is assessed as moderate rather than urgent.

Information Disclosure PostgreSQL Red Hat Psqlodbc
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.1%
CVE-2026-120063 Nov 02, 19:09 MEDIUM PATCH This Month

Stack buffer over-write in psqlODBC before 18.00.0006 can corrupt an application process that forwards attacker-influenced SQL text to the driver. A schema or table identifier longer than the 128-byte stack buffer can cause up to two bytes past the buffer (a double quote and NUL) via a parsed statement's table name or the last INSERT target during SELECT @@IDENTITY rewriting, and a malicious or compromised PostgreSQL server can add a one-byte over-write through an overlong column name in that rewrite. CVSS 3.1 scores this 5.9 (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H), exploitation requires the application to expose untrusted identifiers, the supplied priority label is this_month for normal-cycle patching, and the supplied data shows no CISA KEV confirmation or public exploit reference; no public exploit identified at time of analysis.

Buffer Overflow PostgreSQL Stack Overflow Red Hat Psqlodbc
NVD GitHub
CVSS 3.1
5.9
EPSS
0.3%
CVE-2026-120060 Nov 02, 19:09 MEDIUM PATCH This Month

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.

Buffer Overflow Information Disclosure PostgreSQL Red Hat Psqlodbc
NVD GitHub VulDB
CVSS 3.1
5.9
EPSS
0.2%
CVE-2026-120059 Nov 02, 19:09 MEDIUM PATCH This Month

Format-string handling in psqlODBC before 18.00.0006 can crash applications or disclose client memory when an updatable cursor reads a table without OIDs that has an auto-increment int4 column whose server-reported name contains printf directives. The driver uses that column name as a format string while building the WHERE clause for positioned SELECT, UPDATE, and DELETE statements; exploitation requires a server not trusted under current SSL settings or a database user able to create a table the application reads, plus the non-default cursor/table/column alignment. This is a moderate, not emergency, priority, and no public exploit was identified at time of analysis; the assessed vector is AV:N/AC:H/PR:N/UI:R with high confidentiality and availability impact.

Denial Of Service PostgreSQL Red Hat Psqlodbc
NVD GitHub
CVSS 3.1
6.8
EPSS
0.3%
CVE-2026-109448 Oct 12, 17:42 MEDIUM PATCH This Month

Heap memory corruption in psqlODBC versions before 18.00.0005 can be triggered when an application binds 32,769 or more parameters on a single SQL statement via SQLBindParameter. An attacker who controls the parameter count-for example through an untrusted 'IN (?, ?, ...)' list-can wrap the driver's signed 16-bit binding counter, causing a massive out-of-bounds write of zeros that crashes the application or leaves it running with a corrupted heap. No public exploit code has been identified at time of analysis, and exploitation requires a vulnerable application pattern where parameter counts are derived from untrusted input; the flaw is availability-only (CVSS 5.9).

Denial Of Service PostgreSQL Integer Overflow Red Hat Psqlodbc
NVD GitHub
CVSS 3.1
5.9
EPSS
0.2%
EPSS 0% CVSS 7.3
HIGH This Week

DLL planting in psqlODBC’s Windows MSDTC enlistment path lets a local user who can write to an application directory, the current directory, or a PATH directory execute code under the account of an application that enlists in MSDTC. Affected are Windows builds of psqlODBC up to and including 18.00.0007 that were compiled with Visual C++ 14 or later; Unix builds and applications that never set SQL_ATTR_ENLIST_IN_DTC are not exposed. The flaw is local-only and requires a second local user with pre-existing write access to a searched directory; no public exploit was identified at time of analysis.

Windows Information Disclosure PostgreSQL +2
NVD GitHub VulDB
EPSS 1% CVSS 7.5
HIGH This Week

Heap corruption in psqlODBC through 18.00.0006 can crash an application or corrupt its memory when it processes attacker-controlled SQL text on a keyset-driven or dynamic cursor with non-read-only concurrency, or when output parameters are used. The flaw arises from statement-rewrite position tracking in the driver: failed SQLExecDirect calls, malformed or nested {fn ...} escapes, @@identity translation, and {? = call ...} with unbound return values can cause out-of-bounds writes, negative lengths, stack exhaustion, or NULL dereference. The assessed impact is low integrity and high availability with no confidentiality impact; code execution has not been demonstrated, and no public exploit was identified at time of analysis.

RCE Buffer Overflow PostgreSQL +2
NVD GitHub
EPSS 0% CVSS 7.5
HIGH This Week

A client-side memory-corruption flaw in the PostgreSQL ODBC driver (psqlODBC) through 18.00.0006 causes the driver to write data larger than the buffer an application allocated when column or parameter types reported at describe time differ from the actual type at fetch time; the original report documents a 12-byte overflow past a 4-byte buffer for a uuid and larger corruption in multi-row array fetches, plus several additional out-of-bounds writes across other conversion paths, a stack overflow on a NULL-bound output parameter, and a heap corruption via a bad free in SQLBulkOperations(SQL_ADD) keyset bookkeeping. Triggering the flaw requires the application to bind as SQL_C_DEFAULT and then hit a specific type mismatch or cursor condition, and requires a hostile or compromised server, an on-path attacker on a connection without sslmode=verify-full (the default is disable), or the owner of a table the application reads. CVSS 3.1 scores it 7.5 (AV:N/AC:H/PR:N/UI:R) with high confidentiality, integrity and availability impact; no public exploit code and no confirmed active exploitation were identified at time of analysis.

Buffer Overflow PostgreSQL Memory Corruption +1
NVD GitHub
EPSS 0% CVSS 7.5
HIGH This Week

Heap corruption and driver crashes in psqlODBC (all versions up to and including 18.00.0006) stem from the driver not verifying that server replies match the query it sent, so a hostile or compromised PostgreSQL server - or anyone positioned on the network path of a connection that does not use sslmode=verify-full, noting the driver default is sslmode=disable - can overflow row caches, free results still in use, dereference missing rows/columns, write past buffers with a malformed relacl value, and loop or crash on replies that end a COPY, transaction or connection at an unexpected point. Separate branches affect eight Unicode entry points that omit the null terminator when a value does not fit the caller's buffer, Windows start-up replies lacking client_encoding, MSDTC/XA recovery with a long transaction name, and the SQLSTATE string returned by SQLGetDiagRecW(). The assessed severity is HIGH (CVSS 7.5, CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H); demonstrated results are crashes and heap corruption, code execution has not been demonstrated, no public exploit was identified at time of analysis, and the issue continues the fixes for CVE-2026-120058 and CVE-2026-120060 which addressed other reply types.

RCE Buffer Overflow PostgreSQL +2
NVD GitHub
EPSS 0% CVSS 8.1
HIGH This Week

psqlODBC through 18.00.0006 parses and rebuilds connection strings in several ways that let an attacker-influenced value - a password, user name, or any other field the host application interpolates - break out of its braced value and inject additional connection keywords, which can redirect the application to a server the attacker controls. The same parsing flaws provide a stack-overflow path: on Windows with MSDTC the unescaped XA open string is copied into a 64-byte stack buffer in the process that loads the XA library, and percent-encoding a long password writes one byte past a 4096-byte stack buffer. Exploitation is conditional on the host application placing an end-user-controlled value into the connection string, is high-complexity per the CVSS vector (AV:N/AC:H/PR:N/UI:N), and no public exploit has been identified at time of analysis; the vendor advisory is GHSA-7638-f7xp-wv22.

Buffer Overflow PostgreSQL Microsoft +1
NVD GitHub
EPSS 0% CVSS 7.5
HIGH This Week

SQL injection in psqlODBC through crafted database, schema, table, column, operator, cursor, or parameter identifiers can let an authenticated database user with object-creation rights - or an end user who can supply cursor or parameter names to the application - execute SQL with the application's database role privileges. All versions up to and including 18.00.0006 are affected, and the 18.00.0006 fix for the related CVE-2026-120065 does not cover the SQLSetPos()/SQLBulkOperations() column-name sinks. No public exploit identified at time of analysis.

SQLi PostgreSQL Psqlodbc
NVD GitHub
EPSS 1% CVSS 7.5
HIGH This Week

Extreme sizes and counts handled without range checks in psqlODBC's driver core let 16-bit counters and 2 GiB-scale size computations wrap, producing heap buffer overflows, out-of-bounds reads and a double free inside whatever client application loads the driver. All builds up to and including psqlODBC 18.00.0006 are affected, covering the statement-attribute, descriptor (APD/IPD/ARD), parameter-conversion, SQLGetData, SQLGetDiagField, bookmark and updatable-cursor rollback-log code paths; the assessed vector is remote but high-complexity with low privileges required (AV:N/AC:H/PR:L/UI:N), and the remote sub-cases depend on connecting to a malicious or compromised PostgreSQL server, on statement text or data supplied by an end user, or on a database user who controls the size of a table or value. Demonstrated impact is denial of service and heap corruption - code execution has not been demonstrated - and no public exploit code was identified at time of analysis, with no CISA KEV entry.

RCE PostgreSQL Integer Overflow +1
NVD GitHub
EPSS 1% CVSS 7.5
HIGH This Week

Memory-safety defects across several code paths in psqlODBC, the PostgreSQL ODBC driver, allow a hostile or compromised server - or anyone positioned on the network path of a connection not using sslmode=verify-full - to drive use-after-free, double-free and out-of-bounds write conditions in the client application, with demonstrated results of crashes and heap corruption; code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected, and several cases are gated behind non-default driver options (FetchRefcursors=1, UseDeclareFetch=1) or a process named sqlservr talking to a server older than 8.4, while the UseDeclareFetch and SQLGetData cases can also be reached against an honest server by a database user who can force a statement to fail or control a row the application reads. The CVSS 7.5 score is driven by high confidentiality, integrity and availability weights, but the assessed vector (AC:H, UI:R, C:L/I:L) reflects complex, in places re-entrant or timing-dependent triggers and damage largely limited to the client process; no public exploit code or CISA KEV entry was identified at time of analysis, and priority is this-week rather than emergency.

RCE PostgreSQL Use After Free +2
NVD GitHub
EPSS 1% CVSS 8.1
HIGH This Week

SQL injection in psqlODBC up to and including 18.00.0006 lets remote unauthenticated attackers run SQL with the application's database role whenever an application routes attacker-influenced text into statement text, parameter values, or the ConnSettings connection option. The root cause is the driver's client-side SQL scanner disagreeing with the PostgreSQL server's lexer across lowercase e'...' escape constants, dollar-quote tags containing '_', '}' inside quoted literals within ODBC {d/t/ts/escape ...} sequences, trailing '--' comments in batched parameter arrays, updatable-cursor FROM/WHERE lookup, '/*/' comment handling, embedded NUL bytes in integer parameters, and semicolon-split ConnSettings, so text the driver treats as data reaches the server as code. A second variant lets a database user who can create a table with a crafted name (containing '$', or a quoted name beginning with ',' or ';') redirect another user's positioned updates, inserts and deletes; no public exploit identified at time of analysis, and the assessed AC:H reflects that exploitation depends on the application actually feeding untrusted input into these driver paths.

SQLi PostgreSQL Psqlodbc
NVD GitHub
EPSS 0% CVSS 7.1
HIGH This Week

psqlODBC through 18.00.0006 can resolve a statement's table or column name to a different catalog object than the PostgreSQL server would choose, letting a low-privileged, authenticated database user redirect another user's positioned UPDATE/INSERT/DELETE - or the driver's @@IDENTITY default evaluation - onto a table they control, where the statement runs with the victim's rights. Exploitation requires an authenticated user holding CREATE rights on a schema that sits on the victim's search_path, plus a victim who actively uses the driver against the colliding names (CVSS 3.1: 7.1, AV:N/AC:H/PR:L/UI:R), and several sub-cases are gated by deployment specifics such as LATIN1/SQL_ASCII server encoding, a Turkish or Azeri locale on a non-Windows host, Parse=1, or search_path changes made by means other than a plain SET. This is a genuine integrity-focused risk but not a mass-exploitation emergency; it is not reported as confirmed actively exploited (CISA KEV) and no public exploit identified at time of analysis, with vendor priority rated this_week.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
EPSS 1% CVSS 8.1
HIGH This Week

SQL injection in psqlODBC through 18.00.0006 lets an attacker who controls a bound character parameter or a name passed to a catalog function such as SQLTables() execute SQL with the application's database role rights, but only on a non-UTF-8 connection using the ANSI driver or ANSI entry points with BIG5 via an accepted alias (WIN950, Windows950, big-5) or JOHAB, EUC_TW, EUC_CN, or EUC_KR. Bound-parameter exploitation additionally requires the driver to substitute parameters itself, as with UseServerSidePrepare=0 or a cursor type other than forward-only. UTF-8 connections, the Unicode driver, server-side prepared statements with forward-only cursors, and other encodings are unaffected; the CVSS 8.1 vector is AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, and no public exploit was identified at time of analysis.

SQLi PostgreSQL Psqlodbc
NVD GitHub
EPSS 0% CVSS 7.1
HIGH PATCH This Week

SQL injection in psqlODBC before 18.00.0006 can let an authenticated database user who can create a table that an application reads with an updatable cursor manipulate the driver's keyset and positioned SQL, including which rows a positioned UPDATE or DELETE affects. The flaw triggers when the table lacks OIDs, uses an auto-increment int4 column as the row identifier, and that column's server-reported name contains a double quote that the driver fails to escape. No public exploit identified at time of analysis; exploitation is conditional on the application using updatable cursors and performing positioned operations, and requires user interaction per the CVSS vector.

SQLi PostgreSQL Red Hat +1
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

Out-of-bounds reads and writes in psqlODBC before 18.00.0006 arise when a host application forwards untrusted column numbers or row indices into ODBC entry points such as SQLBindCol, SQLColAttribute and SQLSetPos(SQL_ADD), which the driver uses directly as array indices without validation. This is not a default-configuration remote condition: the limiting factor is that the calling application must itself relay attacker-controlled index values to these APIs, which is why the assessed vector carries high attack complexity (AC:H) and a low-privilege requirement (PR:L) alongside high confidentiality, integrity and availability impact. No public exploit identified at time of analysis; the vendor fix is psqlODBC 18.00.0006.

Buffer Overflow PostgreSQL Red Hat +1
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

SQL injection in psqlODBC before 18.00.0006 allows an attacker who can influence a table or schema name passed by a host application to SQLSpecialColumns to execute arbitrary SQL with the privileges of the existing database connection. Only SQLSpecialColumns is affected because it fails to escape these identifiers, while the other catalog functions do escape them; applications that pass only trusted or hardcoded identifiers to that function are not exploitable. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, and no public exploit was identified at time of analysis.

SQLi PostgreSQL Red Hat +1
NVD GitHub
EPSS 0% CVSS 7.5
HIGH PATCH This Week

A stack-based buffer overflow (CWE-121) in the psqlODBC driver, the official PostgreSQL ODBC driver, lets attacker-influenced SQL text corrupt the memory of any application that forwards it through the driver. Two triggers exist: a {fn ...} ODBC escape with more than 16 argument offsets overflows a fixed 16-entry stack array (and referencing an unsupplied argument copies uninitialized bytes into the query), while copying the body of a {d}, {t}, {ts}, or {escape} escape writes one byte past a 128-byte stack buffer. All versions before 18.00.0006 are affected; no public exploit code was identified at time of analysis, and exposure is confined to applications that pass raw, untrusted SQL text to the driver rather than parameterized queries.

Buffer Overflow PostgreSQL Stack Overflow +2
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

Heap out-of-bounds write in the psqlODBC driver (CWE-787) affects all versions before 18.00.0006 and is reachable only when the UseDeclareFetch option is enabled. The driver sizes its row cache from the column count of a cursor's first result, then accepts a different column count from later FETCH replies; a PostgreSQL server that is not trusted under the current SSL settings can return extra columns and drive writes past the end of the heap allocation, with a keyset reply containing fewer columns than the key fields also causing an unsigned field-count underflow. Unauthenticated remote attackers can exploit this only from a malicious or impersonated backend position, requiring user interaction (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.5); no public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor-released fix is 18.00.0006.

Buffer Overflow PostgreSQL Memory Corruption +2
NVD GitHub
EPSS 0% CVSS 7.5
HIGH PATCH This Week

A heap buffer overflow in psqlODBC's large-object read path lets a malicious or man-in-the-middle PostgreSQL server overwrite adjacent memory in the client process with server-chosen bytes: the driver trusts the byte count in the loread reply and copies that many bytes into the application-supplied buffer without comparing it to the buffer size. All psqlODBC versions before 18.00.0006 are affected, and any application that fetches a large-object column triggers the vulnerable code path. Exploitation is conditional rather than opportunistic - the client must connect to a server it does not trust under its current SSL settings (for example with certificate verification disabled) or an attacker must hold a man-in-the-middle position, and the assessed vector (AC:H, UI:R, PR:N) reflects that a network position or rogue server plus a large-object fetch is required; no public exploit has been identified at time of analysis and the flaw is not in CISA KEV, so priority is patch-this-cycle rather than emergency response.

Buffer Overflow PostgreSQL Red Hat +1
NVD GitHub VulDB
EPSS 0% CVSS 5.0
MEDIUM This Month

psqlODBC through 18.00.0007 writes connection-string passwords into its debug log without masking them whenever the password is supplied under a keyword its redaction routine fails to match - ' PWD', 'PWD ', 'Passwd', 'sslpassword', or any keyword the driver does not recognise, including a misspelled one - while an exact 'PWD' or 'Password' is masked correctly. Even properly masked secrets are replaced one character at a time, so the log discloses the exact length of the password and of each secret in pqopt. Real-world exposure is constrained: the Debug log is off by default and only an administrator can enable it, and an attacker must be an authenticated local user who can read the resulting log file, which in practice is a log attached to a bug report or sent to support; no public exploit identified at time of analysis, and this medium-severity information-disclosure issue is separate from CVE-2026-136504 (addressed in 18.00.0007), whose masking faults remain unfixed in that release.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub VulDB
EPSS 0% CVSS 6.3
MEDIUM This Month

psqlODBC through 18.00.0007, when Debug or CommLog logging is enabled, writes SQL text, result data and connection details to predictably named, PID-suffixed log files in shared locations - /tmp by default on Unix-like systems and C:\ on Windows. On Unix, the vendor's earlier symlink fix (18.00.0006) checks that the log path is a regular file owned by the calling user but not whether it has other hard links, so a local user can hard-link a victim-owned file into the log path and have the driver append to it; a FIFO at the log path (not covered by the earlier fix) instead blocks the application until someone reads from it. On Windows no such checks exist, so a log created in C:\ by a service or elevated process inherits that directory's permissive ACLs and can be read - and in a default-permission directory created under C:\ also modified - by other local users, with an attacker-created file at the log path used as-is; the MSDTC log in C:\ or C:\pgdtclog is handled the same way. Exploitation requires non-default logging enabled by an administrator, a local account on the same host, and on Unix a race against the predictable PID-based filename; no public exploit was identified at time of analysis.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub VulDB
EPSS 1% CVSS 6.5
MEDIUM This Month

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.

Denial Of Service PostgreSQL Null Pointer Dereference +1
NVD GitHub
EPSS 0% CVSS 3.6
LOW Monitor

psqlODBC, the PostgreSQL ODBC driver, resolves the fallback log location as a literal unexpanded '~' path relative to the process's current working directory when Debug or CommLog logging is enabled and the configured log directory is unusable. Any version up to and including 18.00.0006 is affected, and a local authenticated low-privileged user who controls a directory along that resolved path can cause the victim's mylog_*.log and psqlodbc_*.log files to be created in arbitrary directories writable by the victim, or can leave the victim's process blocked in open(). Exploitation requires the non-default logging configuration, a broken primary log directory and attacker control of a specific path component, so real-world exposure is narrow; no public exploit code or active exploitation is identified at time of analysis, and the input decision is 'monitor'.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
EPSS 0% CVSS 6.8
MEDIUM This Month

A fail-open TLS configuration flaw in psqlODBC up to and including 18.00.0006 causes unrecognized SSLmode spellings - such as 'SSLmode=Require', 'SSLmode=Verify-Full', 'SSLmode={require}' or 'SSLmode={verify-full}' - to be silently mapped to 'disable', with SQLDriverConnect() returning SQL_SUCCESS and no diagnostic. An operator who believes encryption is mandated instead transmits in cleartext, allowing an attacker positioned on the network path to read and modify connection traffic. Deployments using the exact lowercase 'sslmode=require' or 'sslmode=verify-full' spelling are unaffected, and no public exploit code or confirmed active exploitation was identified at time of analysis.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
EPSS 0% CVSS 4.8
MEDIUM This Month

State leakage in the PostgreSQL ODBC driver psqlODBC (12.02.0000 through 18.00.0006) lets rows from an abandoned batched parameter-array execution be transmitted to the server by the next SQLExecDirect issued on the same statement handle, which then returns SQL_SUCCESS without sending its own statement - so a failed batch's rows are silently stored while the application's follow-up statement, such as an error log entry, becomes a no-op. An end user who controls a single value in an application's array insert can arrange both halves of this, and a second route triggers without data-at-execution parameters when a later row fails during parameter conversion, sending queued rows into whatever transaction and session context is current; one variant also writes past the end of a shorter SQL_ATTR_PARAM_STATUS_PTR array provided by the next statement. No SQL injection is involved - the statements executed are the application's own correctly quoted text - and exploitation requires a specific failure-then-handle-reuse ordering (AC:H), with no public exploit identified at time of analysis.

PostgreSQL Psqlodbc
NVD GitHub
EPSS 0% CVSS 6.8
MEDIUM This Month

psqlODBC on Windows fails to carry the application's TLS and connection-security settings onto the extra connections that it and its XA library open to complete a distributed (MSDTC-coordinated) transaction, so an on-path attacker without a certificate or credentials can steer those connections to a server of their choosing without TLS, read and alter the traffic, and determine the outcome MSDTC records. All versions up to and including 18.00.0006 are affected, but exploitation is conditional rather than opportunistic: it requires a Windows deployment where distributed transactions are actually in use, the application must trigger the transaction (UI:R), and the attacker must hold a man-in-the-middle position between the MSDTC host and the PostgreSQL server (reflected in AC:H). No public exploit has been identified at time of analysis, and because this is a security-setting downgrade (CWE-757) rather than a memory-safety or code-execution bug, the realistic impact is disclosure and tampering of XA transaction traffic against data sources that were hardened with sslmode=verify-full, verify-ca, or channel_binding=require.

Information Disclosure PostgreSQL Microsoft +1
NVD GitHub
EPSS 0% CVSS 5.0
MEDIUM This Month

psqlODBC through 18.00.0006 can write database passwords in clear text to its optional MyLog debug log when the 'Test' button is used in the Windows DSN setup dialog or when the Unicode connect functions SQLDriverConnectW, SQLConnectW, and SQLBrowseConnectW are invoked. MyLog is off by default and must be enabled by an administrator, and exposure occurs only if the resulting log is later read or shared, such as in a support case or bug report. This is a local, low-privilege information-disclosure issue (CWE-532) with user interaction required and no public exploit identified at time of analysis.

Windows PostgreSQL Psqlodbc
NVD GitHub
EPSS 0% CVSS 5.9
MEDIUM This Month

psqlODBC, the PostgreSQL ODBC driver, can disclose uninitialized heap or stack memory and application buffer contents in versions up to and including 18.00.0006, through seven distinct code paths rather than one single default-configuration attack. Depending on the path, an end user supplying a parameter value, a database user who has stored a long bytea or large-object value, or a hostile/compromised PostgreSQL server can obtain memory from the client application process, which may contain other users' data or credentials; remote attackers are the relevant threat per the CVSS vector (AV:N/PR:N), with high confidentiality impact and no integrity or availability effect. Several variants depend on non-default settings (RowVersioning=1, UseDeclareFetch=1, UseServerSidePrepare=0), specific application binding or ODBC API sequencing, or observation of an unencrypted connection; no public exploit code and no active exploitation were identified at time of analysis, and the issue is assessed as a genuine but moderate-priority information-disclosure problem rather than a high-urgency emergency.

Information Disclosure PostgreSQL Psqlodbc
NVD GitHub
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

A stack-based buffer overflow in psqlODBC, the PostgreSQL ODBC driver, affects all releases before 18.00.0006 when updatable cursors are used - and they are enabled by default. The driver copies the server-supplied ctid (and oid, for tables with OIDs) value into a fixed 32-byte stack buffer using the server-declared length without validating it against the buffer size, so a value of 32 bytes or more overwrites adjacent stack memory; builds compiled with _FORTIFY_SOURCE abort instead. Reaching the flaw needs a specific attacker position: either a PostgreSQL server the client does not trust under its current SSL/TLS settings (malicious or man-in-the-middle server) or a database user able to create a view with its own column named ctid that the application then reads through an updatable cursor; the assessed vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) rates this medium severity with availability-only impact, and no public exploit or active exploitation has been reported.

Buffer Overflow PostgreSQL Stack Overflow +2
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

psqlODBC before 18.00.0006 on Unix-like systems can expose query text and data to other local users when logging is enabled, because log files are created in /tmp with predictable names and default permissions. A local authenticated attacker can read a victim's logs or pre-place a symbolic link at the predictable path so the driver appends log data to an attacker-chosen file with the victim's privileges. Exploitation requires logging to be explicitly enabled and a separate local account on the same host; no public exploit identified at time of analysis, and the issue is assessed as moderate rather than urgent.

Information Disclosure PostgreSQL Red Hat +1
NVD GitHub VulDB
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Stack buffer over-write in psqlODBC before 18.00.0006 can corrupt an application process that forwards attacker-influenced SQL text to the driver. A schema or table identifier longer than the 128-byte stack buffer can cause up to two bytes past the buffer (a double quote and NUL) via a parsed statement's table name or the last INSERT target during SELECT @@IDENTITY rewriting, and a malicious or compromised PostgreSQL server can add a one-byte over-write through an overlong column name in that rewrite. CVSS 3.1 scores this 5.9 (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H), exploitation requires the application to expose untrusted identifiers, the supplied priority label is this_month for normal-cycle patching, and the supplied data shows no CISA KEV confirmation or public exploit reference; no public exploit identified at time of analysis.

Buffer Overflow PostgreSQL Stack Overflow +2
NVD GitHub
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

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.

Buffer Overflow Information Disclosure PostgreSQL +2
NVD GitHub VulDB
EPSS 0% CVSS 6.8
MEDIUM PATCH This Month

Format-string handling in psqlODBC before 18.00.0006 can crash applications or disclose client memory when an updatable cursor reads a table without OIDs that has an auto-increment int4 column whose server-reported name contains printf directives. The driver uses that column name as a format string while building the WHERE clause for positioned SELECT, UPDATE, and DELETE statements; exploitation requires a server not trusted under current SSL settings or a database user able to create a table the application reads, plus the non-default cursor/table/column alignment. This is a moderate, not emergency, priority, and no public exploit was identified at time of analysis; the assessed vector is AV:N/AC:H/PR:N/UI:R with high confidentiality and availability impact.

Denial Of Service PostgreSQL Red Hat +1
NVD GitHub
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Heap memory corruption in psqlODBC versions before 18.00.0005 can be triggered when an application binds 32,769 or more parameters on a single SQL statement via SQLBindParameter. An attacker who controls the parameter count-for example through an untrusted 'IN (?, ?, ...)' list-can wrap the driver's signed 16-bit binding counter, causing a massive out-of-bounds write of zeros that crashes the application or leaves it running with a corrupted heap. No public exploit code has been identified at time of analysis, and exploitation requires a vulnerable application pattern where parameter counts are derived from untrusted input; the flaw is availability-only (CVSS 5.9).

Denial Of Service PostgreSQL Integer Overflow +2
NVD GitHub

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