
Catalogo CVE
CVE-2026-136515
psqlodbc affected and fixed versions
psqlODBC rewrites statement text for keyset-driven cursors and ODBC escapes using positions it found in the text. These positions could lie outside the text or describe another statement: - After SQLExecDirect() failed on a statement handle, the FROM and WHERE positions of the failed statement were applied to the next, shorter statement on that handle. - The parser could record a FROM position with no text after it, and the rewrite then copied a negative length. - An {fn …} escape whose arguments contain FOR UPDATE, ; or INTO … FROM made the driver remove a cursor prefix from the wrong buffer. - {fn CONVERT(?, …)} with an output parameter produced a negative argument length. - An unclosed {fn …} escape made the driver read past the statement, and a few thousand nested ones exhausted the stack. - Translating @@identity in long statement text read an uninitialised pointer, and {? = call …} with nothing bound for the return value dereferenced NULL. Whoever supplies the text of a statement that an application opens on a keyset-driven or dynamic cursor with a concurrency other than read-only, or calls with an output parameter, can corrupt the application's heap and end it. That includes the users of query tools, report builders and other applications that run SQL their users type. 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:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.53% · 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-136515] |
| Debiansid | psqlodbc | 1:18.00.0008-1 | Fixed | [CVE-2026-136515] |
| Debianforky | psqlodbc | 1:18.00.0007-1 | FixedDistribution-reported fixed boundary | [CVE-2026-136515] |
| Debianforky | psqlodbc | 1:18.00.0008-1 | Fixed | [CVE-2026-136515] |
More observations (22)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-136515] |
| Debianbookworm | psqlodbc | 1:13.02.0000-2 | Affected | [CVE-2026-136515] |
| Debiantrixie | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-136515] |
| Debiantrixie | psqlodbc | 1:17.00.0004-2 | Affected | [CVE-2026-136515] |
| 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-136515] |
| Ubuntu18.04 | psqlodbc | 1:09.06.0410-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu18.04 | psqlodbc | 1:10.00.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu18.04 | psqlodbc | 1:10.01.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu20.04 | psqlodbc | 1:11.00.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu20.04 | psqlodbc | 1:12.00.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu20.04 | psqlodbc | 1:12.01.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu22.04 | psqlodbc | 1:13.00.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-2 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu24.04 | psqlodbc | 1:15.00.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu24.04 | psqlodbc | 1:16.00.0000-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0006-2 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu26.10 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0001-1 | Affected | [UBUNTU-CVE-2026-136515] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0002-1 | Affected | [UBUNTU-CVE-2026-136515] |
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-136515.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-pw7w-x92p-r3q2]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-136515]
- [https://odbc.postgresql.org/changelog/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-136515]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-136515]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12716-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-136515]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]