Skip to content
Fencer Intel
high 7.5

CVE-2026-120061 json

psqlODBC ODBC escape parser stack buffer overflow

published 7d ago modified 7d ago also EUVD-2026-115374

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 27%
public exploits
0
none known

Summary

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.

Patch / fix

  • PostgreSQL psqlODBC 18.00.0006
  • psqlodbc Debian 14 1:18.00.0006-1

debian advisories DEBIAN-CVE-2026-120061

  • psqlODBC openSUSE Tumbleweed 18.00.0006-1.1

opensuse advisories openSUSE-SU-2026:12472-1

Is CVE-2026-120061 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-120061 updated cvss 7.5

postgresql-odbc: postgresql-odbc: Memory corruption via malformed SQL escape sequences

  • Red Hat Enterprise Linux 6 postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 7 postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 8 postgresql-odbc-tests, postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 9 postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 10 postgresql-odbc 16.00.0000-5.el10
    affected: workaround, no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
7d ago

Exploit prediction

0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • PostgreSQL psqlODBC

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.