Buffer Overflow in psqlODBC Affects PostgreSQL Users
CVE-2026-136512
What is CVE-2026-136512?
A serious buffer overflow vulnerability exists in psqlODBC, affecting versions up to and including 18.00.0006. This flaw allows for a range of potential exploits whereby the wrong data type fetched from a server can be written into improperly sized buffers. Instances include writing a UUID into a 4-byte buffer, leading to memory corruption and potential application crashes. Additional issues arise from fetching Int8 and int2vector columns which result in improper data handling. The vulnerability can be triggered by an untrusted server or network conditions, especially when SSL verification is disabled. Developers and security professionals should be vigilant in reviewing and upgrading their systems to mitigate risks associated with this vulnerability.
Affected Version(s)
psqlODBC 0 <= 18.00.0006