Home › Vulnerabilities › PostgreSQL
psqlODBC batch of 17 flaws: three rated CVSS 8.1 allow SQL and connection tampering
NVD published 17 vulnerabilities in PostgreSQL psqlODBC on 2026-11-25, mostly memory-safety and input-handling flaws. Three are rated CVSS 8.1, and several records say versions up to and including psqlODBC 18.00.0006 are affected, but none names a fixed release.
What to look into
- 17 vulnerabilities in PostgreSQL psqlODBC: 10 high, 6 medium, 1 low (CVSS up to 8.1).
- None of them is known to be exploited yet.
- Start with CVE-2026-136507 (8.1 high): psqlODBC Connection String Parsing Flaw Enables Remote Code Execution. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- 10 of 17 can be attacked over the network without logging in, 5 of them without anyone clicking anything.
- Kinds of flaws: Out-of-bounds Write (×6); Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (×3); Use of Incorrectly-Resolved Name or Reference (×3); Use After Free (×3).
Key points
- Three flaws (CVE-2026-136507, CVE-2026-136502, CVE-2026-136500) are rated CVSS 8.1 and are the most severe in the batch.
- Several records describe memory corruption from malformed input or from a malicious server.
- Some flaws allow connection tampering, including silent loss of TLS when SSLmode values are unrecognised.
- Several records state affected versions up to and including 18.00.0006; no fixed release is named.
- No record says any of these flaws is known to be exploited.
Overview
The batch contains 17 vulnerabilities in psqlODBC, the PostgreSQL ODBC driver. Three are rated HIGH at CVSS 8.1: CVE-2026-136507, CVE-2026-136502 and CVE-2026-136500. Most of the others are rated HIGH at 7.5 or MEDIUM, CVE-2026-136501 is rated 7.1, and CVE-2026-136513 is rated LOW at 3.6.
Connection strings and client encodings
CVE-2026-136507 covers connection strings that are parsed in the wrong place, so a value can end early. According to the record, an end user who supplies a password or another application value could set other connection keywords and reach a server of their choosing. CVE-2026-136500 covers multibyte client encodings, such as aliases of WIN950 or BIG5, which were treated as single-byte. The record says this can end a literal early and run SQL with the application's database role, but only on a non-UTF-8 connection.
SQL text handling
CVE-2026-136502 and CVE-2026-136515 describe the driver reading statement text differently from the server. Per the records, data can run as SQL, a positioned write can reach another table, or a statement rewrite can use positions outside the text.
Memory corruption
Many records, including CVE-2026-136509, CVE-2026-136512, CVE-2026-136505 and CVE-2026-136503, describe overflows, use-after-free, double frees and out-of-range reads and writes. CVE-2026-136509 can be triggered by a hostile or compromised server, or by someone on the network path of a connection that does not use sslmode=verify-full.
Encryption, logging and identifiers
CVE-2026-136511 says unrecognised SSLmode values were mapped to disable without a diagnostic, so traffic was not encrypted. CVE-2026-136504 says that with MyLog enabled, the database password can be written to the log in clear text. CVE-2026-136506 describes names placed into queries without escaping, and the record notes it is a variant of CVE-2026-120065 that the 18.00.0006 fix does not fully cover.
Exploitation and fixes
None of the records states that these flaws are known to be exploited. The records do not name a fixed release or a complete workaround.
What to do
- Check whether your psqlODBC driver is 18.00.0006 or earlier, the version the records name as affected.
- Obtain a newer psqlODBC release from the project, since the records do not name a fixed version.
- Keep MyLog off unless needed, and review logs before attaching them to bug reports or sending them to support, as CVE-2026-136504 describes.
- For connections that cross a network, use sslmode=verify-full, which CVE-2026-136509 identifies as the protection against network-path attackers; the default is disable.
The 17 vulnerabilities
- CVE-2026-136507 8.1 psqlODBC Connection String Parsing Flaw Enables Remote Code Execution
- CVE-2026-136502 8.1 SQL Injection Vulnerability in PostgreSQL's psqlODBC Driver
- CVE-2026-136500 8.1 psqlODBC SQL Injection Vulnerability in PostgreSQL
- CVE-2026-136509 7.5 psqlODBC Memory Corruption Vulnerability in PostgreSQL
- CVE-2026-136515 7.5 psqlODBC Vulnerability Enables Heap Corruption Through Statement Rewriting
- CVE-2026-136512 7.5 psqlODBC Buffer Overflow in PostgreSQL Could Enable Remote Code Execution
- CVE-2026-136505 7.5 psqlODBC Buffer Overflow Vulnerability in PostgreSQL
- CVE-2026-136503 7.5 psqlODBC Memory Handling Vulnerability in PostgreSQL May Lead to Heap Corruption
- CVE-2026-136506 7.5 psqlODBC SQL Injection Vulnerability in PostgreSQL
- CVE-2026-136501 7.1 psqlODBC Case Sensitivity Flaw Enables Privilege Escalation
- CVE-2026-136511 6.8 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 di…
- CVE-2026-136508 6.8 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's c…
- CVE-2026-136514 6.5 psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user's application reads can crash that application, with an honest server and…
- CVE-2026-136499 5.9 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 applic…
- CVE-2026-136504 5.0 With the driver'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's own redaction masks it as PWD=xxxxx: - Pressing "Test" in the Windows data source setup di…
- CVE-2026-136510 4.8 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 SQLPu…
- CVE-2026-136513 3.6 When Debug or CommLog is enabled and the log directory cannot be used, psqlODBC falls back to a directory under the user's home directory. It wrote that path with an unexpanded ~, which is resolved relative to the process's current directo…
Frequently asked questions
How many PostgreSQL psqlODBC vulnerabilities were published on November 25, 2026?
17 vulnerabilities: 10 high, 6 medium, 1 low, with CVSS scores up to 8.1.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-136507 (CVSS 8.1): psqlODBC Connection String Parsing Flaw Enables Remote Code Execution.
Original records
- NVD: CVE-2026-136507
- NVD: CVE-2026-136502
- NVD: CVE-2026-136500
- NVD: CVE-2026-136509
- NVD: CVE-2026-136515
- NVD: CVE-2026-136512
- NVD: CVE-2026-136505
- NVD: CVE-2026-136503
- NVD: CVE-2026-136506
- NVD: CVE-2026-136501
- NVD: CVE-2026-136511
- NVD: CVE-2026-136508
- NVD: CVE-2026-136514
- NVD: CVE-2026-136499
- NVD: CVE-2026-136504
- NVD: CVE-2026-136510
- NVD: CVE-2026-136513