{"id":"CVE-2026-120060","published":"2026-11-02T19:09:10Z","modified":"2026-11-02T19:43:04Z","title":"psqlODBC does not validate server-supplied counts and lengths","vendor":"PostgreSQL","product":"psqlODBC","tier":"tail","description":{"text":"psqlODBC trusts counts and lengths in server data in three places. SQLBulkOperations uses a server-supplied row count in a size subtraction that can underflow. SQLStatistics iterates index keys using a server-supplied key count without bounding it to the fixed storage. Bytea octal decoding reads up to two bytes past the end of a truncated escape sequence. A server not trusted under current SSL settings can crash the client or make it read out of bounds. Versions before psqlODBC 18.00.0006 are affected.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00216,"percentile":0.12298,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4mfx-cfxx-c877","tags":["vendor-advisory"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":2.46},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"postgresql","affectedVersions":[{"vendor":"PostgreSQL","product":"psqlODBC","versions":["< 18.00.0006"]}],"solutions":{"items":["Upgrade to psqlODBC 18.00.0006 or later. The row count, the index-key count, and the octal escape length are checked before use."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Connect only to servers authenticated with sslmode=verify-full or an equivalent GSS setting."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-02T19:21:21.052088Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-115373","exploited":false,"provenance":"source"}}