5.9Medium

CVE-2026-120060psqlODBC does not validate server-supplied counts and lengths

PostgreSQL psqlODBC Published: (16 days ago)

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.

Weakness (CWE): CWE-125CWE-191

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
PostgreSQL psqlODBC < 18.00.0006

References and patches