CVE-2026-136510
NVDCVSS scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Vulnerability Summary
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.
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.
CVSS v3.1 Base Metrics — Score 4.8 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- PostgreSQL psqlODBC >= 12.02.0000 and <= 18.00.0006
- PostgreSQL psqlODBC 18.00.0006
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run PostgreSQL psqlODBC and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PostgreSQL psqlODBC CVEsYou are reading CVE-2026-136510. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 30, 2026 04:06 UTC