Memory corruptionin PostgreSQL psqlODBC.
No public exploit found; not on exploited lists.
With SQL_C_DEFAULT, 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's result column had another type, psqlODBC wrote the larger type into the smaller buffer: 12 bytes past a 4-byte buffer for a uuid, and more in multi-row fetches, where the driver also steps through the array by the larger size. Other conversions wrote past the application's buffer as well: With Int8As set to a smaller type, an int8 column fetched as SQL_C_DEFAULT was still written as 8 bytes. An int2vector column fetched as SQL_C_DEFAULT returned unterminated binary data instead of text. An output parameter that the application discards by binding a NULL buffer overflowed a stack buffer in the driver. SQLGetData() with BufferLength 0 on a column the driver reads as a large object wrote a NUL byte past the buffer. Adding a row with SQLBulkOperations(SQL_ADD) on a static updatable cursor before the first fetch, then changing that row, rolling back and fetching it, made the keyset index arithmetic free a pointer that was never allocated and corrupt the heap. This can be triggered by a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable), and by the owner of a table the application reads. Versions up to and including psqlODBC 18.00.0006 are affected.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 24 Nov 2026CVE ID reserved by PostgreSQL.
- 25 Nov 2026Published in the CVE List.
- 2 Dec 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other psqlODBC vulnerabilities
Same weakness: Out-of-bounds write
- github.com vendor-advisory
- odbc.postgresql.org release-notes
Patchminder. CVE-2026-136512: Memory corruption in PostgreSQL psqlODBC. https://patchminder.com/cve/cve-2026-136512/ (accessed 5 December 2026).