{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-109448", "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "state": "PUBLISHED", "assignerShortName": "PostgreSQL", "dateReserved": "2026-10-12T16:34:39.636Z", "datePublished": "2026-10-12T17:42:59.581Z", "dateUpdated": "2026-10-12T17:42:59.581Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "shortName": "PostgreSQL", "dateUpdated": "2026-10-12T17:42:59.581Z" }, "title": "psqlODBC SQLBindParameter heap memory corruption when binding more than 32767 parameters", "descriptions": [ { "lang": "en", "value": "Integer wraparound in psqlODBC SQLBindParameter allows an application, or an attacker who controls how many parameters the application binds on one statement, to corrupt heap memory. psqlODBC stores the binding count in a signed 16-bit field. Binding parameter number 32768 wraps that count to -32768. Binding parameter 32769 then writes about 2.5 MB of zeros starting 1.25 MB before the binding array, which crashes the application or leaves it running on a corrupted heap. Applications that build parameter lists from untrusted input, such as an IN (?, ?, ...) list, are exposed. Versions before psqlODBC 18.00.0005 are affected." } ], "affected": [ { "vendor": "PostgreSQL", "product": "psqlODBC", "repo": "https://github.com/postgresql-interfaces/psqlodbc", "programFiles": [ "bind.c" ], "programRoutines": [ { "name": "SQLBindParameter" } ], "defaultStatus": "unaffected", "versions": [ { "version": "08.01.0102", "lessThan": "18.00.0005", "status": "affected", "versionType": "custom" } ] } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-190", "description": "CWE-190 Integer Overflow or Wraparound" } ] }, { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-124", "description": "CWE-124 Buffer Underwrite ('Buffer Underflow')" } ] } ], "metrics": [ { "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ], "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH" } } ], "workarounds": [ { "lang": "en", "value": "Do not bind more than 32767 parameters on a single statement. Limit the number of parameters an application builds from external input, or pass large value lists as a single array parameter, for example = ANY(?)." } ], "solutions": [ { "lang": "en", "value": "Upgrade to psqlODBC 18.00.0005 or later. SQLBindParameter now rejects parameter numbers outside 1..32767 with SQLSTATE 07009 (invalid descriptor index)." } ], "credits": [ { "lang": "en", "type": "finder", "value": "vltr Richard Kuesters" } ], "references": [ { "url": "https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-cmfx-rm3r-p2jr", "tags": [ "vendor-advisory" ] } ] } } }