<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>PostgreSQL vulnerabilities — Vulnerability Watch</title>
  <subtitle>New PostgreSQL vulnerabilities, exploits and security advisories.</subtitle>
  <link href="https://watcher.digitalizingworld.com/vendor/postgresql.xml" rel="self"/>
  <link href="https://watcher.digitalizingworld.com/vendor/postgresql.html"/>
  <id>https://watcher.digitalizingworld.com/vendor/postgresql.xml</id>
  <updated>2026-11-25T23:17:24+00:00</updated>
  <entry>
    <title>CVE-2026-136509 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136509.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136509.html</id>
    <updated>2026-11-25T23:17:24+00:00</updated>
    <summary>psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row has the described number of columns, that one query produces one result, and that a COPY, a transaction or the connection ends where the protocol says. By sending replies that do not match, a hostile or compromised server, or anyone on the network path of a conn…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136515 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136515.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136515.html</id>
    <updated>2026-11-25T23:17:24+00:00</updated>
    <summary>psqlODBC rewrites statement text for keyset-driven cursors and ODBC escapes using positions it found in the text. These positions could lie outside the text or describe another statement: - After SQLExecDirect() failed on a statement handle, the FROM and WHERE positions of the failed statement were applied to the next, shorter statement on that handle. - The parser could record a FROM position wi…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136514 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136514.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136514.html</id>
    <updated>2026-11-25T23:17:24+00:00</updated>
    <summary>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&#39;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…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136511 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136511.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136511.html</id>
    <updated>2026-11-25T23:17:24+00:00</updated>
    <summary>psqlODBC mapped an SSLmode value in a connection string that it did not recognise, such as SSLmode=Require, SSLmode=Verify-Full, SSLmode={require} or SSLmode={verify-full}, to disable. SQLDriverConnect() then returned SQLSUCCESS with no diagnostic, and the connection was not encrypted. An attacker on the network path of such a connection can read and change its traffic. Versions up to and includi…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136513 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136513.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136513.html</id>
    <updated>2026-11-25T23:17:24+00:00</updated>
    <summary>When Debug or CommLog is enabled and the log directory cannot be used, psqlODBC falls back to a directory under the user&#39;s home directory. It wrote that path with an unexpanded ~, which is resolved relative to the process&#39;s current directory. Another local user who controls a directory on that path can make the driver create the victim&#39;s mylog.log and psqlodbc.log files in any directory the victi…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136510 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136510.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136510.html</id>
    <updated>2026-11-25T23:17:24+00:00</updated>
    <summary>A parameter-array execution that fails part-way leaves the rows it has already queued on the statement handle, and the next execution on that handle sends them. After a data-at-execution batch is abandoned, by SQLCancel or a rejected SQLPutData, the next SQLExecDirect sends the failed batch&#39;s rows and returns SQLSUCCESS without sending its own statement. So an application that logs the failure on…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136512 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136512.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136512.html</id>
    <updated>2026-11-25T23:17:24+00:00</updated>
    <summary>With SQLCDEFAULT, the C type of a bound column or parameter follows its SQL type. An application sizes its buffer from the type it was told when it described the statement. When the column had another type at fetch time, because the server reported another type, the table was altered, or an output parameter&#39;s result column had another type, psqlODBC wrote the larger type into the smaller buffer:…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136508 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136508.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136508.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>On Windows, when a connection takes part in a distributed transaction, psqlODBC and its XA library open further connections of their own to finish the transaction. These connections did not keep the security settings of the application&#39;s connection: - When the XA library&#39;s first connection attempt failed, it tried again with sslmode=allow, even for a data source configured with sslmode=verify-ful…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136507 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136507.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136507.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>psqlODBC parsed and built connection strings in ways that let a value end early: - In a braced value, such as PWD={…}, a trailing byte 0x7d of a GBK, Big5 or SJIS character was taken for the closing brace. - A braced value that ended right after an escaped }} was not reported as unterminated, and its contents were parsed as further keywords. - SQLConnectW(), SQLDriverConnectW() and SQLBrowseConne…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136504 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136504.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136504.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>With the driver&#39;s debug log (MyLog) turned on, two paths write the database password to the log in clear text, both beside a line where the driver&#39;s own redaction masks it as PWD=xxxxx: - Pressing &#34;Test&#34; in the Windows data source setup dialog (psqlsetup.dll) logs the whole connection string, which carries PWD= percent-encoded, which is reversible, and any password= or sslpassword= inside pqopt.…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136501 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136501.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136501.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>To build positioned updates and to describe columns, psqlODBC matches the names in a statement against the catalog. Where it matched differently from the server, it used another table or column: - Table and schema names were compared case-insensitively in its column-information cache, so users could be taken for another user&#39;s &#34;Users&#34;, and the driver then evaluated that table&#39;s column default to…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136505 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136505.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136505.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>psqlODBC uses sizes and counts without checking their range, or keeps them in types too small for them: - A row array size of 0, set with SQLSetStmtAttr() or on the ARD, makes SQLSetPos() with SQLREFRESH write past the bound arrays. - SQLDESCCOUNT above 32767 on an APD or IPD writes before the start of a heap buffer. - A numeric parameter with a negative scale overflows a stack buffer. - SQLGetDa…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136503 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136503.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136503.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>psqlODBC frees memory that is still in use, frees it twice, or writes outside an application buffer in these cases: - The clean-up the driver runs at commit and rollback sends queries of its own, and the reply to one of them can start the clean-up again while it is running. The nested run frees the rollback log, or the list of cursors and prepared statements to close, and the outer run uses and f…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136502 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136502.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136502.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>psqlODBC scans statement text itself to substitute parameters, translate ODBC escapes, join batched statements and rewrite queries for updatable cursors. Where it read the text differently from the server, text the driver took for data ran as SQL, or a positioned write went to another table: - An escape string constant written e&#39;…&#39; in lower case was not recognised as one, and &#39;…&#39; after a keyword…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136506 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136506.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136506.html</id>
    <updated>2026-11-25T23:17:23+00:00</updated>
    <summary>psqlODBC builds queries of its own from names, and put these names into them without escaping or qualification: - the database name in SQLForeignKeys(); - the current schema name in catalog functions; - the table name in the currtid2() call that re-reads rows of updatable cursors; - column names in the inserts and updates of SQLSetPos() and SQLBulkOperations(); - cursor names set with SQLSetCurso…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136499 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136499.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136499.html</id>
    <updated>2026-11-25T23:17:22+00:00</updated>
    <summary>psqlODBC read memory it had not written, or memory past the end of an application buffer, and sent it to the server or returned it to the application: - Text bound as SQLCCHAR to a large-object parameter was read past the end of the application&#39;s buffer, and the extra bytes were stored in the large object. - After a fetch truncated a long bytea or large-object value, positioned updates and insert…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-136500 — PostgreSQL psqlODBC</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-136500.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-136500.html</id>
    <updated>2026-11-25T23:17:22+00:00</updated>
    <summary>To escape a bound parameter, or a name passed to a catalog function, psqlODBC has to know where each multibyte character of the client encoding ends. It treated a client encoding named by an alias the server accepts, such as WIN950, Windows950 or big-5 for BIG5, as single-byte, and it accepted too narrow a range of lead bytes for JOHAB, EUCTW, EUCCN and EUCKR. A quote byte that the server reads a…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE</title>
    <link href="https://watcher.digitalizingworld.com/news/2026-11-13-postgresql-patches-52-flaws-including-22-year-old-bug-enabli-706c90.html"/>
    <id>https://watcher.digitalizingworld.com/news/2026-11-13-postgresql-patches-52-flaws-including-22-year-old-bug-enabli-706c90.html</id>
    <updated>2026-11-13T16:53:08+00:00</updated>
    <summary>A type confusion flaw in PostgreSQL lets a database user who can create objects run code on the server. Updates released yesterday fix it, along with 51 other security flaws. Full protection from this flaw also requires rebuilding any C-language extensions installed on the server. The flaw, tracked as CVE-2026-6460, has a CVSS score of 8.8. Any code run this way has the rights of the operating</summary>
    <author><name>The Hacker News</name></author>
  </entry>
  <entry>
    <title>CVE-2026-18447 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-18447.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-18447.html</id>
    <updated>2026-11-12T15:17:51+00:00</updated>
    <summary>Type confusion in PostgreSQL SQL-language functions allows an object creator to execute arbitrary code as the operating system user running the database, via an output parameter of type &#34;any&#34;. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-6460 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-6460.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-6460.html</id>
    <updated>2026-11-12T15:17:51+00:00</updated>
    <summary>Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as &#34;ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN&#34;. The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in dat…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-6467 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-6467.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-6467.html</id>
    <updated>2026-11-12T15:17:51+00:00</updated>
    <summary>Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA &#34;$user&#34;. ALTER EXTENSION was also affected. A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker&#39;s choice. Versions before P…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-16240 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-16240.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-16240.html</id>
    <updated>2026-11-12T15:17:50+00:00</updated>
    <summary>Use of externally-controlled format string in PostgreSQL pgbasebackup allows an attacker having already compromised a server to achieve disclosure from pgbasebackup memory, via backup manifest bytes. The vulnerability does not return the improperly-read bytes back to the attacker&#39;s server, so a successful attack would need separate implementation-specific secrets for that. Integrity impact is unl…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-16237 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-16237.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-16237.html</id>
    <updated>2026-11-12T15:17:50+00:00</updated>
    <summary>Improper protection in PostgreSQL INSERT ... ON CONFLICT on auto-updatable views allows an attacker having INSERT and UPDATE privileges on the view to read and modify every row in the view&#39;s base table, via iterated INSERT ... ON CONFLICT DO UPDATE. This bypasses the view&#39;s WHERE condition, whether or not the view is a securitybarrier view. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, an…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-14661 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-14661.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-14661.html</id>
    <updated>2026-11-12T15:17:49+00:00</updated>
    <summary>External control of file name in PostgreSQL dblink and CREATE/ALTER SUBSCRIPTION allows a user to achieve persistent denial of service, via appending invalid data to a chosen file. Specifically, the &#34;sslkeylogfile&#34; connection parameter appends data, in NSS keylog format, to a file of the user&#39;s choosing. This &#34;sslkeylogfile&#34; mechanism cannot add arbitrary bytes. Within major version 18, minor ver…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-120153 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-120153.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-120153.html</id>
    <updated>2026-11-12T15:17:44+00:00</updated>
    <summary>SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings. This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern. Versions before PostgreSQL 18.7, 17.12, 16.16…</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-120154 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-120154.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-120154.html</id>
    <updated>2026-11-12T15:17:44+00:00</updated>
    <summary>Improper protection in PostgreSQL INSERT ... ON CONFLICT allows an attacker having INSERT, UPDATE, and applicable SELECT privileges on the table to read every row despite row security policies, via iterated INSERT ... ON CONFLICT DO UPDATE. Unlike CVE-2026-16237, this does not facilitate improper writes. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-120150 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-120150.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-120150.html</id>
    <updated>2026-11-12T15:17:43+00:00</updated>
    <summary>Use after free in PostgreSQL expanded-record domain checks allows an object creator to execute arbitrary code as the operating system user running the database, via repeated checks of a domain over a composite type that cause reuse of a dangling memory-context pointer. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-120151 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-120151.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-120151.html</id>
    <updated>2026-11-12T15:17:43+00:00</updated>
    <summary>Type confusion in PostgreSQL plpgsql record-field assignment allows an object creator to execute arbitrary code as the operating system user running the database, via a reentrant domain CHECK that changes a RECORD variable&#39;s row type while a value is being cast. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-120145 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-120145.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-120145.html</id>
    <updated>2026-11-12T15:17:43+00:00</updated>
    <summary>Missing authorization in PostgreSQL logical replication allows a compromised publisher to execute arbitrary code as the operating system user running the superuser-owned subscription, via naming a system catalog as a replication target. Only subscriptions owned by a superuser are vulnerable. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.</summary>
    <author><name>NVD</name></author>
  </entry>
  <entry>
    <title>CVE-2026-120146 — PostgreSQL</title>
    <link href="https://watcher.digitalizingworld.com/cve/CVE-2026-120146.html"/>
    <id>https://watcher.digitalizingworld.com/cve/CVE-2026-120146.html</id>
    <updated>2026-11-12T15:17:43+00:00</updated>
    <summary>Missing authorization in PostgreSQL REASSIGN OWNED allows a role granted INHERIT but not SET to transfer objects to the granted role. It also allows reassignment of database ownership without the CREATEDB privilege. The equivalent ALTER ... OWNER commands block this. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.</summary>
    <author><name>NVD</name></author>
  </entry>
</feed>