{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-120063","id":"CVE-2026-120063","title":"PostgreSQL psqlODBC stack buffer overflow in identifier quoting","description":"When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to describe its columns, and the target of the last INSERT when the driver rewrites SELECT @@IDENTITY. In the @@IDENTITY rewrite, a column name ","descriptionLong":"When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to describe its columns, and the target of the last INSERT when the driver rewrites SELECT @@IDENTITY. In the @@IDENTITY rewrite, a column name sent by the server can also write one byte past the buffer. The bytes written past the buffer are a double quote and a NUL. An application that forwards untrusted SQL text to the driver exposes its process to stack corruption. Versions before psqlODBC 18.00.0006 are affected.","published":"2026-11-02T19:09:12.867Z","updated":"2026-11-17T17:28:10.030245659Z","reserved":"2026-10-30T19:25:18.920Z","status":"Awaiting Analysis","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H","rating":"medium","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H","rating":"medium","source":"PostgreSQL"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H","rating":"medium","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["PostgreSQL psqlODBC"],"affectedProducts":[{"vendor":"PostgreSQL","product":"psqlODBC","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"18.00.0006","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-121","CWE-787"],"aliases":["GHSA-285r-84w3-xcxv"],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-285r-84w3-xcxv","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120063.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120063","tags":["advisory"]},{"url":"https://github.com/postgresql-interfaces/psqlodbc","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00271,"epssPercentile":0.19621,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-120063","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120063","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-120063","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-120063","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":["postgresql"],"critical":[],"attention":null}