Buffer Overflow Vulnerability in psqlODBC by PostgreSQL
CVE-2026-136507
What is CVE-2026-136507?
The psqlODBC driver contains multiple vulnerabilities in the way it handles connection strings, potentially allowing attackers to manipulate these strings to execute unauthorized commands. Certain character encodings can lead to premature termination of values, allowing further keywords to be parsed incorrectly. Additionally, excessive lengths in UTF-8 encoding exceed buffer limits, increasing the risk of stack overflow. Notably, Windows environments using MSDTC are particularly vulnerable as they can incorporate user-provided passwords directly into unescaped connection strings, facilitating buffer overflow attacks. Users of versions up to and including psqlODBC 18.00.0006 are strongly advised to update their software to mitigate these risks.
Affected Version(s)
psqlODBC 0 <= 18.00.0006