# CVE-2026-120061: psqlODBC ODBC escape parser stack buffer overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-02 · Modified: 2026-11-02
- Aliases: DEBIAN-CVE-2026-120061, UBUNTU-CVE-2026-120061
- Record: https://cvemate.com/vulnerability/CVE-2026-120061 · JSON: https://cvemate.com/vulnerability/CVE-2026-120061/json

## Description

```text
The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array without a bound and does not initialize the array. An escape with too many arguments overflows the stack, and a reference to an unsupplied argument copies arbitrary bytes into the query. The copy of a {d}, {t}, {ts}, or {escape} body also writes one byte past a 128-byte stack buffer. An application that forwards untrusted SQL text to the driver exposes its process to memory corruption. Versions before psqlODBC 18.00.0006 are affected.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.342%, percentile 29.744%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian psqlodbc (Debian): All versions (No fix recorded) \| \< 1:18.00.0006-1
- ubuntu psqlodbc (Ubuntu): All versions (No fix recorded)
- postgresql psqlodbc: \< 18.00.0006

## References

- <https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-hfm6-qfx8-v4xq>
- <https://security-tracker.debian.org/tracker/CVE-2026-120061>
- <https://ubuntu.com/security/CVE-2026-120061>
- <https://www.cve.org/CVERecord?id=CVE-2026-120061>

---

Data as of 2026-12-05T05:03:07.699Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
