{"id":"CVE-2026-120060","aliases":["CVE-2026-120060"],"related":[],"kind":"vulnerability","state":"published","title":"psqlODBC does not validate server-supplied counts and lengths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-02T19:09:10.912Z","modified":"2026-11-02T20:17:39.190Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-125","CWE-191"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"18.00.0006","status":"affected"}],"vendor":"PostgreSQL","product":"psqlODBC","repo":"https://github.com/postgresql-interfaces/psqlodbc","source":"cvelist"}],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4mfx-cfxx-c877","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T19:21:21.052Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120060","url":"https://www.cve.org/CVERecord?id=CVE-2026-120060","licence":"CVE Terms of Use","modified":"2026-11-02T19:43:04.278Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120060","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120060","licence":"Public domain","modified":"2026-11-02T20:17:39.190Z"}],"updatedAt":"2026-11-25T22:59:48.217Z","epss":{"score":0.00334,"percentile":0.28724,"date":"2026-12-01T12:00:22.000Z"}}