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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-25 · Modified: 2026-12-02
- Aliases: UBUNTU-CVE-2026-136510, DEBIAN-CVE-2026-136510
- Record: https://cvemate.com/vulnerability/CVE-2026-136510 · JSON: https://cvemate.com/vulnerability/CVE-2026-136510/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.403%, percentile 36.67%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian psqlodbc (Debian): All versions (No fix recorded) \| \< 1:18.00.0007-1
- ubuntu psqlodbc (Ubuntu): All versions (No fix recorded)
- postgresql psqlodbc: ≥ 12.02.0000, ≤ 18.00.0006

## References

- <https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-9j2v-p4pj-f4wj>
- <https://odbc.postgresql.org/changelog/>
- <https://ubuntu.com/security/CVE-2026-136510>
- <https://www.cve.org/CVERecord?id=CVE-2026-136510>
- <https://security-tracker.debian.org/tracker/CVE-2026-136510>

---

Data as of 2026-12-05T04:50:44.317Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
