psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, can return more bytes than the buffer holds and overwrite adjacent memory in the client process with server-chosen bytes. Fetching any large-object column is sufficient to trigger it. Versions before psqlODBC 18.00.0006 are affected.

Project Subscriptions

Vendors Products
Postgresql Subscribe
Psqlodbc Subscribe
Advisories

No advisories yet.

Fixes

Solution

Upgrade to psqlODBC 18.00.0006 or later. CC_send_function receives the caller's buffer size, clamps the copy to it, and rejects short fixed-size replies.


Workaround

Do not fetch large-object (lo) columns from servers that are not authenticated with sslmode=verify-full or an equivalent GSS setting.

History

Tue, 03 Nov 2026 00:30:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql psqlodbc
Vendors & Products Postgresql
Postgresql psqlodbc
References
Metrics threat_severity

None

threat_severity

Important


Mon, 02 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

Type Values Removed Values Added
Description psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, can return more bytes than the buffer holds and overwrite adjacent memory in the client process with server-chosen bytes. Fetching any large-object column is sufficient to trigger it. Versions before psqlODBC 18.00.0006 are affected.
Title psqlODBC large-object read overflows the application buffer
Weaknesses CWE-120
References
Metrics cvssV3_1

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


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

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

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

Link: CVE-2026-120057

cve-icon Vulnrichment

Updated: 2026-11-02T19:34:55.464Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-11-02T20:17:38.787

Link: CVE-2026-120057

cve-icon Redhat

Severity : Important

Publid Date: 2026-11-02T19:09:09Z

Links: CVE-2026-120057 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T00:15:14Z

Weaknesses