CVE-2026-136510

Source
https://cve.org/CVERecord?id=CVE-2026-136510
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136510.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-136510
Aliases
  • GHSA-9j2v-p4pj-f4wj
Published
2026-11-25T22:25:51Z
Modified
2026-11-26T00:00:13Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
Statement after an abandoned parameter array sends the abandoned batch's rows instead of its own
Details

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.

Database specific
{
    "cna_assigner":  "PostgreSQL",
    "cwe_ids":  [
        "CWE-665"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136510.json"
}
References

Affected packages

Git / github.com/postgresql-interfaces/psqlodbc

Affected ranges

Type
GIT
Repo
https://github.com/postgresql-interfaces/psqlodbc
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "12.02.0000"
                },
                {
                    "last_affected":  "18.00.0006"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

Other
REL-12_02_0000
REL-13_00_0000
REL-13_01_0000
REL-13_02_0000
REL-15_00_0000
REL-16_00_0000
REL-16_00_0003
REL-16_00_0004
REL-16_00_0005
REL-16_00_0005-mimalloc
REL-16_00_0006
REL-16_00_0006-mimalloc
REL-16_00_0007
REL-16_00_0007-mimalloc
REL-17_00_0000
REL-17_00_0000-mimalloc
REL-17_00_0001
REL-17_00_0001-mimalloc
REL-17_00_0002
REL-17_00_0002-mimalloc
REL-17_00_0003
REL-17_00_0003-mimalloc
REL-17_00_0004
REL-17_00_0004-mimalloc
REL-17_00_0005
REL-17_00_0005-mimalloc
REL-17_00_0006
REL-17_00_0006-mimalloc
REL-17_00_0007
REL-17_00_0007-mimalloc
REL-17_00_0008
REL-17_00_0008-mimalloc
REL-17_00_0009
REL-17_00_0009-mimalloc
REL-17_00_0010
REL-17_00_0010-mimalloc
REL-18_00_0000
REL-18_00_0000-mimalloc
REL-18_00_0001
REL-18_00_0001-mimalloc
REL-18_00_0002
REL-18_00_0002-mimalloc
REL-18_00_0003
REL-18_00_0003-mimalloc
REL-18_00_0004
REL-18_00_0004-mimalloc
REL-18_00_0005
REL-18_00_0005-mimalloc
REL-18_00_0006
REL-18_00_0006-mimalloc

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136510.json"