CVE-2026-120061
published high CVSS 3.1 · 7.5psqlODBC ODBC escape parser stack buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PostgreSQL | — | psqlODBC0 to < 18.00.0006 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3427 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | psqlODBCaarch64 | Advisory build | 18.00.0006-1.8.1 | SUSE-SU-2026:5192-1 |
| Amazon Linux | AL2023 | postgresql-odbcaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3427 |
| SUSE / openSUSE | SLE-12-SP5 | psqlODBCppc64le | Advisory build | 18.00.0006-1.8.1 | SUSE-SU-2026:5192-1 |
| SUSE / openSUSE | SLE-12-SP5 | psqlODBCs390x | Advisory build | 18.00.0006-1.8.1 | SUSE-SU-2026:5192-1 |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | psqlODBCx86_64 | Advisory build | 18.00.0006-1.8.1 | SUSE-SU-2026:5192-1 |
| SUSE / openSUSE | SLE-15-SP4 | psqlODBCaarch64 | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP4 | psqlODBCppc64le | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP4 | psqlODBCs390x | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP4 | psqlODBCx86_64 | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP5 | psqlODBCaarch64 | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP5 | psqlODBCppc64le | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP5 | psqlODBCs390x | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP5 | psqlODBCx86_64 | Advisory build | 18.00.0006-150000.3.14.1 | SUSE-SU-2026:5253-1 |
| SUSE / openSUSE | SLE-15-SP6 | psqlODBCaarch64 | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | SLE-15-SP6 | psqlODBCppc64le | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | SLE-15-SP6 | psqlODBCs390x | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | SLE-15-SP6 | psqlODBCx86_64 | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | SLE-15-SP7 | psqlODBCaarch64 | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | SLE-15-SP7 | psqlODBCppc64le | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | SLE-15-SP7 | psqlODBCs390x | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | SLE-15-SP7 | psqlODBCx86_64 | Advisory build | 18.00.0006-150600.3.5.1 | SUSE-SU-2026:5191-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | psqlODBCaarch64 | Advisory build | 18.00.0006-bp160.1.1 | OPENSUSE-SU-2026:22261-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | psqlODBCppc64le | Advisory build | 18.00.0006-bp160.1.1 | OPENSUSE-SU-2026:22261-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | psqlODBCs390x | Advisory build | 18.00.0006-bp160.1.1 | OPENSUSE-SU-2026:22261-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | psqlODBCx86_64 | Advisory build | 18.00.0006-bp160.1.1 | OPENSUSE-SU-2026:22261-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCaarch64 | Advisory build | 18.00.0006-1.1 | OPENSUSE-SU-2026:12472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCppc64le | Advisory build | 18.00.0006-1.1 | OPENSUSE-SU-2026:12472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCs390x | Advisory build | 18.00.0006-1.1 | OPENSUSE-SU-2026:12472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCx86_64 | Advisory build | 18.00.0006-1.1 | OPENSUSE-SU-2026:12472-1 |
| Amazon Linux | AL2023 | postgresql-odbcsrc | Listed in advisory | Not stated | ALAS2023-2026-3427 |
| Amazon Linux | AL2023 | postgresql-odbcx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3427 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PostgreSQL | psqlODBC | 0 to < 18.00.0006 (affected · custom)Default: unaffected | PostgreSQL · cna |
Weaknesses
3- CWE-121 CWE-121 Stack-based Buffer Overflow
- CWE-193 CWE-193 Off-by-one Error
- CWE-457 CWE-457 Use of Uninitialized Variable
References
1Provider assertions
2PostgreSQL · cna
psqlODBC ODBC escape parser stack buffer overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d7f27fce062c75bf4f597ce179f9bbb85f9fec643b44aac1bb3b01a56c894628
- Ingested
- 02 Nov 2026, 19:37:01 UTC
- Source record
- Official CVE record