CVE-2026-120061: High severity debian/psqlodbc vulnerability

Published Nov 2, 2026
·
Updated

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.

Affected Software

11 affected componentsFixes available
debian/psqlodbc*
debian/psqlodbc*
debian/psqlodbc*
debian/psqlodbc<=1:13.02.0000-2, <=1:17.00.0004-2, <=1:18.00.0005-1
1:18.00.0006-1
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*

Event History

Nov 2, 2026
CVE Published
via NVD·07:18 PM
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:18 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using psqlODBC before version 18.00.0006 are exposed when they forward untrusted SQL text to the driver. The listed affected software includes the Ubuntu and Debian psqlodbc packages.

2

What must an attacker be able to do to exploit it?

An attacker needs the ability to cause an application to send crafted SQL text containing ODBC escape sequences to the psqlODBC driver. Exploitation can use a {fn} escape with excessive or missing arguments, or oversized {d}, {t}, {ts}, or {escape} bodies.

3

What is the potential impact?

The parser flaws can corrupt memory in the application process using the driver. The supplied severity vector indicates potential impact to confidentiality, integrity, and availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203