
Catalogo CVE
CVE-2026-136509
psqlodbc affected and fixed versions
psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row has the described number of columns, that one query produces one result, and that a COPY, a transaction or the connection ends where the protocol says. By sending replies that do not match, a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable) can corrupt memory in the application: - A FETCH reply with more rows than requested overflows the row cache. - Extra results in reply to a FETCH, or to the queries of a keyset-driven cursor, are freed while still in use. - A key query of a keyset-driven cursor answered with extra columns, or a re-read row with fewer columns, overflows the row cache. - Replies without columns or rows, or with NULL values, to the driver's internal queries at connect time and in catalog functions are dereferenced. - A malformed relacl value in SQLTablePrivileges() makes the driver write past a buffer. - On Windows with MSDTC, a long transaction name returned by the server overflows a buffer during recovery. - Values in replies to the driver's internal queries are used without checking their range: an empty column name, a parameter count, a large-object size, a function's or trigger's argument count, and a result of exactly 32767 columns. They are dereferenced, read past, returned to the application or sent back to the server as stack memory, or make the driver loop forever. - A reply that ends a COPY, the connection or the transaction at an unexpected point leaves freed results, keysets or table information in use: a CopyOutResponse followed by a lost connection, a ROLLBACK command tag under UseDeclareFetch=1, or a lost connection while a cursor with positioned updates is closed. Eight extra bytes in a reply also make the driver wait forever for a COPY to end. - On Windows, a start-up reply without client_encoding crashes the driver, and with MSDTC a failed connection makes the XA library use a connection it has already freed. - An error message ending in the first byte of a multibyte character leaves the SQLSTATE returned by SQLGetDiagRecW() unterminated. - When a string value did not fit the application's buffer, eight Unicode entry points filled the buffer and wrote no null terminator, so a caller that reads to the terminator, as ODBC allows, read past the end of its own buffer. This continues the fixes for CVE-2026-120058 and CVE-2026-120060, which covered other replies. The demonstrated results are crashes and heap corruption; code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.
- Gravità
- High · CVSS 3.1 · 7.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.46% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | psqlodbc | 1:18.00.0007-1 | FixedDistribution-reported fixed boundary | [CVE-2026-136509] |
| Debiansid | psqlodbc | 1:18.00.0008-1 | Fixed | [CVE-2026-136509] |
| Debianforky | psqlodbc | 1:18.00.0007-1 | FixedDistribution-reported fixed boundary | [CVE-2026-136509] |
| Debianforky | psqlodbc | 1:18.00.0008-1 | Fixed | [CVE-2026-136509] |
More observations (22)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-136509] |
| Debianbookworm | psqlodbc | 1:13.02.0000-2 | Affected | [CVE-2026-136509] |
| Debiantrixie | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-136509] |
| Debiantrixie | psqlodbc | 1:17.00.0004-2 | Affected | [CVE-2026-136509] |
| Opensusetumbleweed | psqlODBC | 18.00.0007-1.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2026:12716-1] |
| Ubuntu16.04 | psqlodbc | 1:09.03.0300-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu18.04 | psqlodbc | 1:09.06.0410-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu18.04 | psqlodbc | 1:10.00.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu18.04 | psqlodbc | 1:10.01.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu20.04 | psqlodbc | 1:11.00.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu20.04 | psqlodbc | 1:12.00.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu20.04 | psqlodbc | 1:12.01.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu22.04 | psqlodbc | 1:13.00.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-2 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu24.04 | psqlodbc | 1:15.00.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu24.04 | psqlodbc | 1:16.00.0000-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0006-2 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu26.10 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0001-1 | Affected | [UBUNTU-CVE-2026-136509] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0002-1 | Affected | [UBUNTU-CVE-2026-136509] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [odbc-postgresql]Interessata
Pacchetto sorgente: [psqlodbc]
Dettagli (2)
1:13.02.0000-2+b1· amd64 · bookwormInteressata
dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12
1:13.02.0000-2+b1· arm64 · bookwormInteressata
dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12
[Debian 13 (Trixie)]
- [odbc-postgresql]Interessata
Pacchetto sorgente: [psqlodbc]
Dettagli (2)
1:17.00.0004-2· amd64 · trixieInteressata
pypi · psqlodbc · debian · 13
1:17.00.0004-2· arm64 · trixieInteressata
pypi · psqlodbc · debian · 13
[openSUSE Leap 15.6]
- [psqlODBC]Sconosciuto
Pacchetto sorgente: [psqlODBC]
Dettagli (4)
16.00.0000-150600.1.2· aarch64 · leap-15.6Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-150600.1.2· ppc64le · leap-15.6Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-150600.1.2· s390x · leap-15.6Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-150600.1.2· x86_64 · leap-15.6Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
[openSUSE Leap 16.0]
- [psqlODBC]Sconosciuto
Pacchetto sorgente: [psqlODBC]
Dettagli (4)
16.00.0000-bp160.1.12· aarch64 · leap-16.0Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-bp160.1.12· ppc64le · leap-16.0Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-bp160.1.12· s390x · leap-16.0Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-bp160.1.12· x86_64 · leap-16.0Sconosciuto · Corretta:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
[openSUSE Tumbleweed]
Osservato:
Riferimenti
- [https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-136509.json]
- [https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12716-1.json]
- [https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-98mx-57hv-xjpr]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-136509]
- [https://odbc.postgresql.org/changelog/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-136509]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-136509]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12716-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-136509]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]