CVE-2026-136499: Driver sends application memory to the server or returns it to the caller

Published Nov 25, 2026
·
Updated

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'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 inserts read past the bound buffer and wrote that memory into the row. - Hex text with a NUL byte, bound to a binary parameter with an explicit length, sent uninitialised heap memory as the parameter value. - With RowVersioning=1, SQLColumns() on a table that does not exist returned uninitialised stack memory as the schema and table names. - With UseDeclareFetch=1, bookmarks of updatable block cursors contained uninitialised heap memory, and a malformed ctid from the server sent stale heap bytes in positioned updates and deletes. - With UseServerSidePrepare=0, calling SQLNumResultCols(), SQLDescribeCol() or SQLColAttribute() on a prepared statement before SQLExecute() read the application's bound parameter buffers and sent their current contents to the server as literals, although ODBC lets the application fill those buffers after the describe. - The driver named the prepared statements, savepoints, cursors and keyset plans it creates on the server after the heap addresses of its own objects, so the server, or anyone reading an unencrypted connection, learned exact heap addresses inside the client.

Depending on the case, an end user who supplies a parameter value, a database user who stores a long value in a row, or a hostile server can obtain memory of the application process, which may hold data of other users or credentials.

Versions up to and including psqlODBC 18.00.0006 are affected.

Affected Software

1 affected component
PostgreSQL psqlODBC<=18.00.0006

Event History

Nov 25, 2026
CVE Published
via MITRE·10:25 PM
Data Sourced
via MITRE·10:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who could receive the unintended memory contents?

Depending on the code path, the driver may send extra application memory to the database server, store it in a large object or row, return it to the application, or expose it through schema and table names returned by SQLColumns().

2

What configuration-dependent cases are identified?

The issue includes a SQLColumns() case when RowVersioning=1, bookmark and malformed ctid cases when UseDeclareFetch=1, and bound parameter-buffer disclosure when UseServerSidePrepare=0. Other listed cases involve text or binary parameters, truncation during fetches, and positioned updates or inserts.

3

Does exploitation require an attacker to authenticate or interact with a user?

The supplied vector lists PR:N and UI:N, meaning no privileges or user interaction are required according to the provided severity data. It also lists AV:N and AC:H, indicating network reachability but high attack complexity.

4

How can an environment identify potentially affected behavior?

Review driver usage for the listed conditions: SQL_C_CHAR text bound to large-object parameters, truncated bytea or large-object fetches followed by positioned updates or inserts, NUL-containing hex text bound to binary parameters with explicit lengths, and metadata calls on prepared statements before execution when UseServerSidePrepare=0. Also check whether RowVersioning=1 or UseDeclareFetch=1 is configured.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203