CVE-2026-136515
Memory corruption and crashes when the driver rewrites statements for cursors and escapes
No exploitation reported by the sources we read.
- Published2026-11-25
- WeaknessCWE-125 · CWE-674 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-2522:25CVE publishedCNA
Versions per branch
Products declared by the CNA
As PostgreSQL, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.
- PostgreSQL psqlODBCother versions: not affected
package psqlodbchttps://odbc.postgresql.org/
Affected- ≤ 18.00.0006no fix statedcustom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-25
Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-136515 yet.
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-11-25
Frequently asked questions
What is CVE-2026-136515?
Is CVE-2026-136515 actively exploited?
What is the CVSS score for CVE-2026-136515?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-103788same week
- CVE-2026-65817same weekAzure Managed Instance for Apache Cassandra Remote Code Execution Vulnerability
- CVE-2026-134882same weekTOTOLINK A7100RU CGI cstecgi.cgi exportOvpn os command injection
- CVE-2026-18530same weekOS Command Injection in Lantronix S2220 Series 2 a3cli Restricted Shell
- CVE-2026-129975same weekGpgme: gpgme: double free in read_status() via crafted signature
- CVE-2026-135126same weekFredrikNoren ungit Remote Git API git-api.js credentialsOption os command injection
- CVE-2026-121613same weekUnauthenticated reboot and firmware replacement
- CVE-2026-120382same week