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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to psqlODBC 18.00.0006 or later. The row count, the index-key count, and the octal escape length are checked before use.


Workaround

Connect only to servers authenticated with sslmode=verify-full or an equivalent GSS setting.

History

Mon, 02 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
Description 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.
Title psqlODBC does not validate server-supplied counts and lengths
Weaknesses CWE-125
CWE-191
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-11-02T19:43:04.278Z

Reserved: 2026-10-30T19:25:18.919Z

Link: CVE-2026-120060

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-02T19:18:03.137

Modified: 2026-11-02T19:34:23.993

Link: CVE-2026-120060

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses