CVE-2026-136510
published medium CVSS 3.1 · 4.8Statement after an abandoned parameter array sends the abandoned batch's rows instead of its own
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PostgreSQL | — | psqlodbcpsqlODBC · 12.02.0000 through 18.00.0006 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCaarch64 | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCppc64le | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCs390x | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | psqlODBCx86_64 | Advisory build | 18.00.0007-1.1 | OPENSUSE-SU-2026:12716-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PostgreSQL | psqlODBC | 12.02.0000 through 18.00.0006 (affected · custom)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-665 CWE-665 Improper Initialization
References
2- GHSA-9j2v-p4pj-f4wj https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-9j2v-p4pj-f4wj
- psqlODBC changelog https://odbc.postgresql.org/changelog/
Provider assertions
1PostgreSQL · cna
Statement after an abandoned parameter array sends the abandoned batch's rows instead of its own
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7f263e9c209fca5d4c750dad0b00c3657aa28976e21ba473e85428aa2b42d7f6
- Ingested
- 25 Nov 2026, 22:31:10 UTC
- Source record
- Official CVE record