Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-136515

published high CVSS 3.1 · 7.5

Memory corruption and crashes when the driver rewrites statements for cursors and escapes

Published
25 Nov 2026, 22:25:54 UTC
Updated
25 Nov 2026, 22:25:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PostgreSQL — psqlodbcpsqlODBC · 0 through 18.00.0006 · Other versions: unaffected Affected Not stated PostgreSQL
Amazon Linux AL2 Release evaluation Not Affected; Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected; Pending Fix Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCaarch64 Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCppc64le Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCs390x Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1
SUSE / openSUSE openSUSE-Tumbleweed psqlODBCx86_64 Advisory build 18.00.0007-1.1 OPENSUSE-SU-2026:12716-1

Description

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.

en · PostgreSQL · cna

Vendor advisories explicitly linked to this CVE.

1

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:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PostgreSQL psqlODBC 0 through 18.00.0006 (affected · custom)Default: unaffected PostgreSQL · cna

Weaknesses

3
  • CWE-787 CWE-787 Out-of-bounds Write (PostgreSQL · cna)
  • CWE-125 CWE-125 Out-of-bounds Read (PostgreSQL · cna)
  • CWE-674 CWE-674 Uncontrolled Recursion (PostgreSQL · cna)

References

2
  • GHSA-pw7w-x92p-r3q2 https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-pw7w-x92p-r3q2 vendor-advisory Contributors: PostgreSQL (cna)
  • psqlODBC changelog https://odbc.postgresql.org/changelog/ release-notes Contributors: PostgreSQL (cna)

Provider assertions

1

PostgreSQL · cna

Memory corruption and crashes when the driver rewrites statements for cursors and escapes

Provenance

Schema
5.2
Searchable
yes
Content hash
1fecbc394d254c8a806bddf61de3bdbad80ca5e789652d4b1ad5d1c7483d8260
Ingested
25 Nov 2026, 22:31:10 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected