The project had planned an October release. Between eight and ten features, including SQL/PGQ graph queries, were pulled from the branch during beta and move to PostgreSQL 20.
psqlODBC 18.00.0006 fixes two more memory corruption flaws
EditorialBy TrustList Editorial
A malicious or impersonated server can overflow the client's buffer through a large-object read (CVE-2026-120057), and untrusted SQL text with ODBC escapes can overflow the stack (CVE-2026-120061). Both rate 7.5.
About psqlODBC 18.00.0006 fixes two more memory corruption flaws
psqlODBC 18.00.0006 fixes two more memory corruption flaws
3 November 2026: psqlODBC, the official ODBC driver that lets Windows and Linux applications, reporting tools and spreadsheets talk to PostgreSQL, has two new advisories, both rated High at 7.5 and both fixed in version 18.00.0006: CVE-2026-120057, in which a server can overwrite memory in the client through a large-object read, and CVE-2026-120061, a stack overflow in the parser for ODBC escape sequences. Every release up to 18.00.0005 is affected, which means the version we reported on last month for its own heap corruption fix is itself now out of date.
When the server is the attacker
CVE-2026-120057 turns the usual direction of a database attack around. When an application reads a large object, psqlODBC copied the server's reply into the application's buffer using the length the server sent, without checking it against the buffer size. A server that is not trusted under the connection's SSL settings, or anyone able to sit in the middle of an unverified connection, can send back more bytes than the buffer holds and overwrite neighbouring memory in the client with bytes of its choosing. The advisory says fetching any large-object column is enough.
The fix passes the caller's buffer size down, clamps the copy and rejects short replies. Until the driver is updated, the maintainers' workaround is to fetch large-object columns only from servers authenticated with sslmode=verify-full, or with GSSAPI encryption required through pqopt={gssencmode=require}.
Escape sequences in untrusted SQL
CVE-2026-120061 is in the code that rewrites ODBC escapes such as {fn ...}, {d ...}, {t ...} and {ts ...} into PostgreSQL syntax. The parser stored the argument offsets of a {fn} escape in a fixed, uninitialised 16-entry array on the stack with no bound, so an escape with too many arguments overflows it, and a reference to a missing argument copies arbitrary bytes into the query. The copy of a date, time or timestamp escape also wrote one byte past a 128-byte buffer. The risk is to applications that forward SQL text they did not write, such as reporting front ends or integration tools that accept user queries. The workaround is to keep untrusted SQL away from the driver, or to reject text containing ODBC escapes before it reaches it.
Both flaws were found in an internal review of the psqlODBC source, and neither advisory reports exploitation.
Rolling the driver out
The driver is installed per machine, often bundled by an application installer or pushed by desktop management, so an update on the database server fixes nothing. Inventory where psqlODBC is installed (BI desktops, ETL servers, Windows application servers), check the version against 18.00.0006, and update. For clients that read large objects across networks you do not control, moving connection strings to sslmode=verify-full is worth doing anyway, since it is the condition both this flaw and impersonation attacks generally depend on.
Related on TrustList:
- PostgreSQL 19 now due on 19 November after late feature reverts
- PgBouncer 1.26.1 fixes a SCRAM login bypass and two hang bugs
- psqlODBC 18.00.0005 fixes heap corruption from oversized parameter lists
Sources
- psqlODBC GHSA-qhmr-5339-q33r: Large-object read overflows the application buffer (CVE-2026-120057), 3 November 2026
- psqlODBC GHSA-hfm6-qfx8-v4xq: ODBC escape parser stack buffer overflow (CVE-2026-120061), 3 November 2026
- psqlODBC releases: REL-18_00_0006, 2 November 2026
- Canadian Centre for Cyber Security: PostgreSQL security advisory (AV26-1115), 3 November 2026
Categories & features
- Cybersecurity
- PostgreSQL
- DataBase
- SQL
- Patch Management
TrustList Weekly
The week in software and IT, in one email
The news that matters to buyers, new rankings and our own research. Every Thursday, free, and easy to leave.
You may be interested in
Every release from 08.01.0102 to 18.00.0004 is affected. An application that builds IN lists from user input can be crashed, or left running on a corrupted heap.
A user who knows one SCRAM password can log in as any other SCRAM user, superusers included, on PgBouncer 1.17.0 to 1.26.0. Two further flaws let unauthenticated clients hang the pooler under specific settings.
An attacker used a compromised GitHub account and leaked credentials for four weeks, copying customer contacts, contract terms, SQL editor text and encrypted API keys. PingCAP says the databases themselves were not reached.
Attackers are using CVE-2026-48842, a pre-login SQL injection in Roundcube's virtuser_query plugin, four months after the fix. Anyone running Roundcube, or buying mail from a host that does, should check for 1.6.19 or 1.7.4.
DuckDB 2.0 is supported until at least October 2027 and 1.5 has been extended to March 2027. Files written by 2.0 cannot be read by any older version, so upgrade order matters.
Packages for those minor releases, including PostgreSQL 18, move to the YUM archive and get no further updates; servers on RHEL, Rocky Linux or AlmaLinux 10.0 or 9.6 should move to a newer minor release.
DigitalOcean is removing plans above 4 GiB RAM and standby and read-only nodes from managed PostgreSQL and MySQL Standard Edition. New database accounts from 15 October 2026, all accounts from 30 November. Existing clusters are not affected.
More on TrustList
Everything here links back to the same verified catalogue. Pick your next stop.
- More CybersecurityThe ranking for this subject
- CompaniesAgencies, consultancies and IT service providers, ranked by verified reviews.
- ProductsSoftware and SaaS with pricing, features, integrations and alternatives.
- AwardsAnnual recognition decided by verified reviews and an independent jury.
- LaunchesNew products and releases, voted up by the community every day.
- AI ModelsBenchmark scores and community ratings for every major model.
- RequestsBuyers describe what they need; vendors respond directly.
- PeopleReviewers, authors and makers with public profiles.
- ComparePut up to four listings side by side before you shortlist.