Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Databases

CVE-2026-136515 — PostgreSQL psqlODBC

High · CVSS 7.5EPSS 0.5% First seen November 25, 2026

One of 17 PostgreSQL psqlODBC vulnerabilities published together by NVD: our article covers all of them.

DatabasesVulnerabilities

Research article

psqlODBC Vulnerability Enables Heap Corruption Through Statement Rewriting

CVECVE-2026-136515
Vendor and productPostgreSQL psqlODBC
PublishedNovember 26, 2026 00:20 UTC
Research cut-offNovember 26, 2026 00:01 UTC
Sources reviewed2: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-136515PostgreSQLpsqlODBCCWE-125, CWE-674, CWE-7877.5 HIGH, scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a50072026-11-25T23:17:242026-11-25T23:17:24Received

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 VersionFixed Version
≤ 18.00.0006not 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

  1. Monitor system logs for unusual activity.
  2. Review application behavior for signs of heap corruption.
  3. 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

  1. 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. CVE record, CVSS scores, CWE IDs, affected versions, vulnerability description
  2. 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. Exploitation status

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score 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.

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

Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
PostgreSQL psqlODBC≤ 18.00.0006—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

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.

Timeline & sources

References