CVE-2026-120058
published high CVSS 3.1 · 7.5psqlODBC row cache overflow when a later FETCH changes the column count
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
psqlODBC sizes its row cache from the column count of a cursor's first result, but recomputes the column count from each later FETCH reply without checking that it matches. A server not trusted under current SSL settings can answer a later FETCH with more columns and make the driver write tuple records past the end of the heap allocation. A keyset reply with fewer columns than the key fields also underflows the unsigned field count. This is reachable with UseDeclareFetch enabled. 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:N/UI:R/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
2- CWE-787 CWE-787 Out-of-bounds Write
- CWE-191 CWE-191 Integer Underflow (Wrap or Wraparound)
References
1Provider assertions
2PostgreSQL · cna
psqlODBC row cache overflow when a later FETCH changes the column count
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3b163c08ae6c7512c74e035ca54509e966568d98bb3a2351965d5f0c1b0ab1ed
- Ingested
- 02 Nov 2026, 19:37:01 UTC
- Source record
- Official CVE record