CVE-2026-120067
published medium CVSS 3.1 · 5.9psqlODBC stack buffer overflow copying ctid and oid values for updatable cursors
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 | Pending Fix | Not stated | 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
For updatable cursors, which are enabled by default, psqlODBC adds hidden ctid and, for tables with OIDs, oid columns to the query. It copies each value into a 32-byte stack buffer using the length the server sent, without checking it against the buffer size, so a value of 32 bytes or more writes past the buffer. A server not trusted under current SSL settings can send such a value. So can any database user who can create a view with its own column named ctid that the application reads with an updatable cursor. Builds with _FORTIFY_SOURCE abort; other builds overwrite adjacent stack memory. 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:N/UI:N/S:U/C:N/I:N/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 copying ctid and oid values for updatable cursors
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 881fafb2d32017eca6478fe21c11373e877d8a785b7727c6df0cd4abcb0e570e
- Ingested
- 02 Nov 2026, 19:37:01 UTC
- Source record
- Official CVE record