CVE-2026-136510 Statement after an abandoned parameter array sends the abandoned batch's rows instead of its own

Published Updated

Applications using psqlODBC parameter-array execution may silently store rows or write past an array status pointer after a failed batch.

CVSS score

Medium

4.8/10

CVSS 3.1 · Scored by PostgreSQL Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-136510?

CVE-2026-136510 is a medium-severity other vulnerability in PostgreSQL psqlODBC, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-665

How severe is CVE-2026-136510?

CVE-2026-136510 scores 4.8 out of 10 under CVSS 3.1, which is medium severity. It was scored by PostgreSQL.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

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

Which versions are affected by CVE-2026-136510?

An affected version is only exploitable if your software calls SQLCancel, SQLPutData or SQLExecDirect. Many projects that include it are not exposed.

How do I fix CVE-2026-136510?

No fix has been published for CVE-2026-136510 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. More about Other.

Is CVE-2026-136510 being exploited?

There is no known exploitation of CVE-2026-136510 in the wild and no public exploit code.

Sources

Also known as GHSA-9j2v-p4pj-f4wj, UBUNTU-CVE-2026-136510.

Is CVE-2026-136510 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free