CVE-2026-120060
JSON

5.9medium

psqlODBC does not validate server-supplied counts and lengths

Severity
5.9medium CVSS:3.1 by PostgreSQL
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL

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.

Affected

Product or packageVersionsReported by
PostgreSQL psqlODBCbefore 18.00.0006CVE List

Classification

CWE-125CWE-191

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120060 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-120060 changed 2026-11-02Public domain