CVE-2026-136510
Last modified
CVE-2026-136510 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. A parameter-array execution that fails part-way leaves the rows it has already queued on the statement handle, and the next execution on that handle sends them. After a data-at-execution batch is abandoned, by SQLCancel or a rejected SQLPutData, the next SQLExecDirect sends the failed batch's rows and returns SQL_SUCCESS without sending its own statement. So an application that logs the failure on the same handle has its log entry turned into a silent no-op, while rows it was told had failed are stored.
Description
A parameter-array execution that fails part-way leaves the rows it has already queued on the statement handle, and the next execution on that handle sends them. After a data-at-execution batch is abandoned, by SQLCancel or a rejected SQLPutData, the next SQLExecDirect sends the failed batch's rows and returns SQL_SUCCESS without sending its own statement. So an application that logs the failure on the same handle has its log entry turned into a silent no-op, while rows it was told had failed are stored. An end user who controls one value in an application's array insert can arrange both halves of that. A second route needs no data-at-execution parameter: when building a later row fails in parameter conversion, the queued rows go to the server ahead of the next parameter array on the handle, inside whatever transaction and session settings are current by then. One variant also writes past the end of a shorter SQL_ATTR_PARAM_STATUS_PTR array supplied by the next statement. The statements that run are the application's own, correctly quoted; no SQL text comes from outside. Versions from psqlODBC 12.02.0000, which introduced batched parameter-array execution, up to and including 18.00.0006 are affected.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL | psqlODBC | >= 12.02.0000, <= 18.00.0006 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-136510?
How severe is CVE-2026-136510?
How do I fix CVE-2026-136510?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-136504With the driver's debug log (MyLog) turned on, two paths wri…5
- CVE-2026-136505psqlODBC uses sizes and counts without checking their range,…7.5
- CVE-2026-136506psqlODBC builds queries of its own from names, and put these…7.5
- CVE-2026-136507psqlODBC parsed and built connection strings in ways that le…8.1
- CVE-2026-136508On Windows, when a connection takes part in a distributed tr…6.8
- CVE-2026-136509psqlODBC did not check that a server reply matches the query…7.5
- CVE-2026-136511psqlODBC mapped an SSLmode value in a connection string that…6.8
- CVE-2026-136512With SQL_C_DEFAULT, the C type of a bound column or paramete…7.5
- CVE-2026-136513When Debug or CommLog is enabled and the log directory canno…3.6
- CVE-2026-136514psqlODBC assumed that a table it reads keeps the definition …6.5
- CVE-2026-136515psqlODBC rewrites statement text for keyset-driven cursors a…7.5
- CVE-2026-136517The UsersWP – Front-end login form, User Registration, User …6.4
Are you affected by CVE-2026-136510?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
