CVE-2026-120063
published medium CVSS 3.1 · 5.9psqlODBC stack buffer overflow when quoting long schema and table names
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 | 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 |
| SUSE / openSUSE | SLE-12-SP5 | psqlODBCx86_64 | Advisory build | 18.00.0006-1.8.1 | SUSE-SU-2026:5192-1 |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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
When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to describe its columns, and the target of the last INSERT when the driver rewrites SELECT @@IDENTITY. In the @@IDENTITY rewrite, a column name sent by the server can also write one byte past the buffer. The bytes written past the buffer are a double quote and a NUL. An application that forwards untrusted SQL text to the driver exposes its process to stack 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
- 5.9 / 10
- Severity
- medium
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/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
2- CWE-121 CWE-121 Stack-based Buffer Overflow
- CWE-787 CWE-787 Out-of-bounds Write
References
1Provider assertions
2PostgreSQL · cna
psqlODBC stack buffer overflow when quoting long schema and table names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 153053d88bbfc6c412cd5b3b46152f4b129727c1a660c890f0f8bebb83edf917
- Ingested
- 02 Nov 2026, 19:37:01 UTC
- Source record
- Official CVE record