psqlODBC frees memory that is still in use, frees it twice, or writes outside an application buffer in these cases:
Most of these can be triggered by a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable). A database user who can make a statement fail, or who controls the contents of a row the application reads, can trigger the UseDeclareFetch=1 and SQLGetData() cases against an honest server. The demonstrated results are crashes and heap corruption; code execution has not been demonstrated.
Versions up to and including psqlODBC 18.00.0006 are affected.
{
"cna_assigner": "PostgreSQL",
"cwe_ids": [
"CWE-415",
"CWE-416",
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136503.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "18.00.0006"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}