CVE-2026-120061: PostgreSQL psqlODBC · Stack-based Buffer Overflow
Affects PostgreSQL psqlODBCSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 18.00.0006 soon.
Data as of 2 Nov 2026, 19:58 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 18.00.0006
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Nov 2026.
What to do
Upgrade PostgreSQL psqlODBC to 18.00.0006.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PostgreSQLpsqlODBC | Affected
| Fixed in
|
GitHubpsqlODBCpkg:github/psqlODBCOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade psqlODBC to version 18.00.0006 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
Description
CVE-2026-120061 is a stack-based buffer overflow vulnerability in the psqlODBC driver for PostgreSQL. The issue arises from improper handling of ODBC escape sequences in SQL text, where argument offsets for {fn} escapes are written into a fixed-size stack array without bounds checking. This can lead to stack overflow and memory corruption. Additionally, certain escape sequences ({d}, {t}, {ts}, {escape}) write one byte beyond a 128-byte stack buffer. Applications forwarding untrusted SQL text to the driver are at risk. Versions before 18.00.0006 are affected.