CVE-2026-136515 — PostgreSQL psqlODBC
One of 17 PostgreSQL psqlODBC vulnerabilities published together by NVD: our article covers all of them.
DatabasesVulnerabilitiesResearch article
psqlODBC Vulnerability Enables Heap Corruption Through Statement Rewriting
| CVE | CVE-2026-136515 |
|---|---|
| Vendor and product | PostgreSQL psqlODBC |
| Published | November 26, 2026 00:20 UTC |
| Research cut-off | November 26, 2026 00:01 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-25); CISA KEV catalog |
Executive summary
CVE-2026-136515 impacts PostgreSQL psqlODBC up to version 18.00.0006. The issue arises from improper processing of SQL statements during cursor operations, which can result in heap corruption. The CVSS 3.1 score is 7.5, HIGH, assigned by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 [1]. The sources do not mention any confirmed exploitation [2]. The sources do not list a fixed version, so no patched release is identified [1].
Key points
- psqlODBC versions up to 18.00.0006 are impacted by CVE-2026-136515 [1].
- The flaw involves improper handling of SQL statement text during cursor operations, which can cause heap corruption [1].
- The CVSS 3.1 base score is 7.5, HIGH, assigned by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 [1].
- The sources do not mention any confirmed exploitation [2].
- The sources do not name a patched version; the vendor advisory and changelog are referenced in the record [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-136515 | PostgreSQL | psqlODBC | CWE-125, CWE-674, CWE-787 | 7.5 HIGH, scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | 2026-11-25T23:17:24 | 2026-11-25T23:17:24 | Received |
Vulnerability description
psqlODBC improperly processes SQL statement text during cursor operations, using positions it identifies in the input. These positions may not align with the actual text or refer to a different statement, which can cause heap corruption and potentially crash the application [1].
Attack surface and exploitation prerequisites
The CVSS 3.1 scoring indicates network access with high attack complexity, low privileges required, no user interaction needed, and high impact on confidentiality, integrity, and availability [1].
Impact analysis
The CVSS vector highlights a high impact on confidentiality, integrity, and availability [1]. The description notes that heap corruption could result in application termination, although no code execution has been confirmed [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| ≤ 18.00.0006 | not listed |
Exploitation and threat intelligence status
CVE-2026-136515 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-26 [2]. The sources do not report confirmed exploitation [2].
Detection and exposure assessment
To assess exposure, verify if the installed psqlODBC version is at or below 18.00.0006 [1].
Remediation
The sources do not list a fixed version. General advice includes monitoring for unusual system behavior and reviewing logs for signs of exploitation.
Remediation checklist
- Monitor system logs for unusual activity.
- Review application behavior for signs of heap corruption.
- Verify the installed version of psqlODBC to determine exposure.
Evidence gaps
- The sources do not provide details about the internal workings of the affected component.
- There is no mention of a workaround in the sources.
- The exact attack steps are not described in the sources.
- The sources do not include indicators of compromise.
- The sources do not list a fixed version for the affected product.
References
- CVE-2026-136515 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-136515. Accessed 2026-11-26.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26.
Summary
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.
Severity breakdown
High · 7.5
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL psqlODBC | ≤ 18.00.0006 | — |
References by type
Vendor advisories
Other references
Affected
- PostgreSQL psqlODBC
Frequently asked questions
What is CVE-2026-136515?
CVE-2026-136515 impacts PostgreSQL psqlODBC up to version 18.00.0006. The issue arises from improper processing of SQL statements during cursor operations, which can result in heap corruption. The CVSS 3.1 score is 7.5, HIGH, assigned by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007. The sources do not mention any confirmed exploitation. The sources do not list a fixed version, so no patched release is identified. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-136515?
CVE-2026-136515 has a CVSS 3.1 base score of 7.5 (high), from the CNA. An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-136515 being exploited?
Not as far as is known: CVE-2026-136515 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-136515?
PostgreSQL psqlODBC ≤ 18.00.0006.
How do I fix CVE-2026-136515?
Monitor system logs for unusual activity. Review application behavior for signs of heap corruption. Verify the installed version of psqlODBC to determine exposure.