{"schemaVersion":4,"id":"CVE-2026-136501","aliases":["UBUNTU-CVE-2026-136501","DEBIAN-CVE-2026-136501"],"status":"published","duplicateOf":null,"title":"Positioned writes go to another user's table through name and case matching","description":"To build positioned updates and to describe columns, psqlODBC matches the names in a statement against the catalog. Where it matched differently from the server, it used another table or column:\n\n- Table and schema names were compared case-insensitively in its column-information cache, so users could be taken for another user's \"Users\", and the driver then evaluated that table's column default to answer @@IDENTITY.\n- In FROM ONLY t, ONLY was taken for the table name.\n- Column names were compared case-insensitively, so with Parse=1 the type of another column could decide the size of the application's buffer, which a fetch then overflowed.\n- In a database whose encoding is single-byte, such as LATIN1 or SQL_ASCII, the server folds the accented letters of an unquoted name by its own locale, while the driver folded only A-Z, so ÉTAT could be taken for another user's \"État\" instead of état.\n- On systems other than Windows, in a Turkish or Azeri locale, an unquoted I was not folded to i, and keywords and ODBC function names did not match.\n- Without a schema name, SQLSpecialColumns() could report the key columns of another user's same-named temporary table, and SQLPrimaryKeys() could take another user's index named <table>_pkey for the primary key of a table without one.\n- After search_path changed other than through a plain SET statement, positioned writes went to the same-named table in the previously current schema.\n- SQLBulkOperations() trusted the ctid stored inside a variable-length bookmark handed back by the application, and ignored the WHERE clause that restricted the cursor, so a forged bookmark read, updated or deleted any row of the cursor's table.\n\nA database user who can create a table in a schema on another user's search_path can redirect that user's positioned updates, inserts and deletes to a table of their choosing, where they run with the victim's rights, or run an expression of their choosing under the victim's role.\n\nVersions up to and including psqlODBC 18.00.0006 are affected.","dates":{"published":"2026-11-25T22:25:45.415Z","modified":"2026-12-02T15:06:23.733Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true}]},"epss":{"probability":0.00428,"percentile":0.38997,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-26T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00428,"percentile":0.38997}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00428,"percentile":0.38997}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity","description":"The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/178.html"},{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference","description":"The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/706.html"}],"affected":[{"vendor":"debian","product":"psqlodbc","name":"psqlodbc","label":"psqlodbc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/psqlodbc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1:18.00.0007-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:18.00.0007-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1:18.00.0007-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"psqlodbc","name":"psqlodbc","label":"psqlodbc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/psqlodbc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"postgresql","product":"psqlodbc","name":"psqlODBC","label":"psqlodbc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 18.00.0006","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.00.0006","endInclusive":true}}],"versionsText":"≤ 18.00.0006","eol":null,"hubHref":"/vendor/postgresql/psqlodbc"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-38cc-jj5v-wrg6","label":"github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-38cc-jj5v-wrg6","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://odbc.postgresql.org/changelog/","label":"odbc.postgresql.org/changelog/","hostname":"odbc.postgresql.org","tags":["Release Notes"]},{"url":"https://ubuntu.com/security/CVE-2026-136501","label":"ubuntu.com/security/CVE-2026-136501","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136501","label":"www.cve.org/CVERecord?id=CVE-2026-136501","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-136501","label":"security-tracker.debian.org/tracker/CVE-2026-136501","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12716-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12716-1"]},"timeline":[{"kind":"published","date":"2026-11-25T22:25:45.415Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-02T15:06:23.733Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,71],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00428,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T15:06:23.733Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T15:06:23.733Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-02T15:06:23.733Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-02T15:06:23.733Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-02T15:06:10.434Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00428,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:50:30.803Z","stale":false,"partial":false}}