
CVE-Katalog
CVE-2026-136503
psqlodbc affected and fixed versions
psqlODBC frees memory that is still in use, frees it twice, or writes outside an application buffer in these cases: - The clean-up the driver runs at commit and rollback sends queries of its own, and the reply to one of them can start the clean-up again while it is running. The nested run frees the rollback log, or the list of cursors and prepared statements to close, and the outer run uses and frees it again. - The callback through which libpq delivers notices could run that clean-up, and close the connection, while libpq was still using the connection. - Freeing a statement whose result holds several cursors (FetchRefcursors=1, or UseDeclareFetch=1) used the freed first result while the later cursors were closed. - With UseDeclareFetch=1, after a rollback closed an updatable cursor, rows added or deleted through it were counted but not stored, so freeing the statement freed uninitialised pointers, and adding a row wrote past the keyset. - After a multi-row fetch failed on a row other than the first of its rowset, SQLGetData() wrote at an offset past the buffer the application passed. - SQLProcedureColumns() freed the result of its catalog query twice when the query failed. - In a process named sqlservr (SQL Server linked servers), a server version below 8.4 made the statement parser free a buffer twice. - A failed SQLPutData in the middle of a SQLSetPos() or SQLBulkOperations() data-at-execution sequence left the whole operation pending, with the internal statement still allocated and autocommit silently off, so later statements were rolled back at disconnect. The next positioned update ran the stale callback against a statement that was never executed and dereferenced NULL. Most of these can be triggered by 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). A database user who can make a statement fail, or who controls the contents of a row the application reads, can trigger the UseDeclareFetch=1 and SQLGetData() cases against an honest server. 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.
- Schweregrad
- 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.57% · 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-136503] |
| Debiansid | psqlodbc | 1:18.00.0008-1 | Fixed | [CVE-2026-136503] |
| Debianforky | psqlodbc | 1:18.00.0007-1 | FixedDistribution-reported fixed boundary | [CVE-2026-136503] |
| Debianforky | psqlodbc | 1:18.00.0008-1 | Fixed | [CVE-2026-136503] |
More observations (22)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-136503] |
| Debianbookworm | psqlodbc | 1:13.02.0000-2 | Affected | [CVE-2026-136503] |
| Debiantrixie | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-136503] |
| Debiantrixie | psqlodbc | 1:17.00.0004-2 | Affected | [CVE-2026-136503] |
| 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-136503] |
| Ubuntu18.04 | psqlodbc | 1:09.06.0410-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu18.04 | psqlodbc | 1:10.00.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu18.04 | psqlodbc | 1:10.01.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu20.04 | psqlodbc | 1:11.00.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu20.04 | psqlodbc | 1:12.00.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu20.04 | psqlodbc | 1:12.01.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu22.04 | psqlodbc | 1:13.00.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-2 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu24.04 | psqlodbc | 1:15.00.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu24.04 | psqlodbc | 1:16.00.0000-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0006-2 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu26.10 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0001-1 | Affected | [UBUNTU-CVE-2026-136503] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0002-1 | Affected | [UBUNTU-CVE-2026-136503] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [odbc-postgresql]Betroffen
Quellpaket: [psqlodbc]
Details (2)
1:13.02.0000-2+b1· amd64 · bookwormBetroffen
dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12
1:13.02.0000-2+b1· arm64 · bookwormBetroffen
dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12
[Debian 13 (Trixie)]
- [odbc-postgresql]Betroffen
Quellpaket: [psqlodbc]
Details (2)
1:17.00.0004-2· amd64 · trixieBetroffen
pypi · psqlodbc · debian · 13
1:17.00.0004-2· arm64 · trixieBetroffen
pypi · psqlodbc · debian · 13
[openSUSE Leap 15.6]
- [psqlODBC]Unbekannt
Quellpaket: [psqlODBC]
Details (4)
16.00.0000-150600.1.2· aarch64 · leap-15.6Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-150600.1.2· ppc64le · leap-15.6Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-150600.1.2· s390x · leap-15.6Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-150600.1.2· x86_64 · leap-15.6Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
[openSUSE Leap 16.0]
- [psqlODBC]Unbekannt
Quellpaket: [psqlODBC]
Details (4)
16.00.0000-bp160.1.12· aarch64 · leap-16.0Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-bp160.1.12· ppc64le · leap-16.0Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-bp160.1.12· s390x · leap-16.0Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
16.00.0000-bp160.1.12· x86_64 · leap-16.0Unbekannt · Behoben:
18.00.0007-1.1Version impact unknown
pypi · psqlODBC · opensuse · tumbleweed
[openSUSE Tumbleweed]
Beobachtet:
Referenzen
- [https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-136503.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-48v4-hjc5-hx8w]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-136503]
- [https://odbc.postgresql.org/changelog/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-136503]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-136503]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12716-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-136503]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]