PostgreSQL Multiple High-Severity Vulnerabilities (CVE-2026-116304 through CVE-2026-116325)
Is it fixed? Not yet.
Ongoing since Nov 12, 15:17 UTC. First reported Nov 12, 15:17 UTC.
What happened
Multiple high-severity vulnerabilities affecting PostgreSQL components including plperl, pltcl, parallel worker coordination, composite-value assignments, tsvector functions, vacuumdb, pg_restore, pg_dump, and reindexdb may allow arbitrary code execution or SQL injection. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
What caused it?
Type confusion, use-after-free, heap-based buffer overflow, improper protection of alternate paths, untrusted search path issues, improper input validation, and SQL injection across various PostgreSQL internal components and utilities.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Official fixTimeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on security advisory
Type confusion in PostgreSQL composite-value field assignment: CVE-2026-116306 (High)
Source
Evidence
37 reports · 37 CVEShow
- [1]CVEType confusion in PostgreSQL composite-value field assignment: CVE-2026-116306 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL composite-value field assignment allows an object creator to execute arbitrary code as the operating system user running the database, via changing a composite type between deforming and reforming a value. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [2]CVEPostgreSQL plperl: CVE-2026-116307 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL plperl allows an object creator to execute arbitrary code as the operating system user running the database, via re-entering plperl and freeing a prepared query while an outer invocation is executing it. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [3]CVEPostgreSQL coordination of anonymous RECORD type identifiers among parallel workers: CVE-2026-116304 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL coordination of anonymous RECORD type identifiers among parallel workers allows a database user to execute arbitrary code as the operating system user running the database, via causing one process to free a shared tuple descriptor while another process retains and later uses its address. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments93% match
- [4]CVE First reportType confusion in PostgreSQL plperl: CVE-2026-116309 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL plperl may allow an object creator to execute arbitrary code, via blessing a non-hash reference into PostgreSQL::InServer::ARRAY. We have not confirmed or ruled out a way to control the pointer sufficiently to achieve security impact, but we are proceeding as though that is possible. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments
- [5]CVEPostgreSQL pg_restore: CVE-2026-116314 (High)(opens security advisory in a new tab)
High severity. Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running pg_restore, via a crafted archive. Note a contrast: crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments96% match
- [6]CVEPostgreSQL ts_rank_cd(): CVE-2026-116317 (High)(opens security advisory in a new tab)
High severity. Heap-based buffer overflow in PostgreSQL ts_rank_cd() may allow a database user to execute arbitrary code as the operating system user running the database, via an invalid tsvector containing duplicate positions. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [7]CVEUntrusted search path in PostgreSQL vacuumdb: CVE-2026-116313 (High)(opens security advisory in a new tab)
High severity. Untrusted search path in PostgreSQL vacuumdb allows a database owner to execute arbitrary SQL as the database user running vacuumdb, via shadowing operators used in the --missing-stats-only catalog query. The pg_upgrade documentation recommends an affected vacuumdb invocation. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
by Tenable 0upvotes 0comments94% match
- [8]CVEPostgreSQL tsvector_delete(): CVE-2026-116315 (High)(opens security advisory in a new tab)
High severity. Heap-based buffer overflow in PostgreSQL tsvector_delete() allows a database user to execute arbitrary code as the operating system user running the database, via a tsvector whose lexeme data uses a nonstandard but valid ordering that requires additional alignment padding in the result. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments96% match
- [9]CVEPostgreSQL security-restricted operations: CVE-2026-116316 (High)(opens security advisory in a new tab)
High severity. Improper protection of alternate path in PostgreSQL security-restricted operations allows an object creator to execute arbitrary SQL as the operation's caller, via a domain, enum, or range type created in pg_temp. The victim session must later run a query containing an unqualified type name, e.g. "SELECT '1'::bigint"; autovacuum and other common security-restricted operation users do not do so, so they are unaffected. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and…
by Tenable 0upvotes 0comments95% match
- [10]CVEPostgreSQL pltcl: CVE-2026-116323 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL pltcl allows an object creator to execute arbitrary code as the operating system user running the database, via a domain CHECK that re-enters the Tcl interpreter and frees or changes a string still used by the outer result conversion. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments98% match
- [11]CVEPostgreSQL plperl: CVE-2026-116319 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL plperl allows an object creator to execute arbitrary code as the operating system user running the database, via reentrant return_next() calls. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments98% match
- [12]CVEPostgreSQL pg_dump: CVE-2026-116318 (High)(opens security advisory in a new tab)
High severity. SQL injection in PostgreSQL pg_dump allows an object creator to execute arbitrary SQL as the user restoring the dump, via an inherited column having a child-local not-null constraint whose name requires quoting. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
by Tenable 0upvotes 0comments94% match
- [13]CVEPostgreSQL plperl: CVE-2026-116320 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL plperl allows an object creator to execute arbitrary code as the operating system user running the database, via dropping the final reference to a Perl array or hash while PostgreSQL is converting that object. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments98% match
- [14]CVEPostgreSQL reindexdb: CVE-2026-116325 (High)(opens security advisory in a new tab)
High severity. SQL injection in PostgreSQL reindexdb allows an object creator to execute arbitrary SQL as the database user running reindexdb, via a crafted index name embedded in the parallel catalog query for --jobs with --index. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.
by Tenable 0upvotes 0comments96% match
- [15]CVEUntrusted data inclusion in PostgreSQL pg_dump tar-format restore.sql: CVE-2026-116330 (High)(opens security advisory in a new tab)
High severity. Untrusted data inclusion in PostgreSQL pg_dump tar-format restore.sql allows a compromised origin server to execute arbitrary code as the client operating system account running psql, via the predictable restriction key in restore.sql. This is a gap in the fix for CVE-2025-8714. restore.sql is undocumented. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments95% match
- [16]CVEType confusion in PostgreSQL min/max aggregate optimization: CVE-2026-116331 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL min/max aggregate optimization allows an object creator to execute arbitrary code as the operating system user running the database, via a user-defined aggregate whose SORTOP option causes the planner to treat the aggregate's input and result as the same type when they differ. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments96% match
- [17]CVEUncaught exceptions in PostgreSQL plperl: CVE-2026-116326 (High)(opens security advisory in a new tab)
High severity. Uncaught exceptions in PostgreSQL plperl allow an object creator to cause use of a stale sigjmp_buf, via a tied Perl object, or a Perl object whose overloaded conversion throws while plperl is handling another error. We have not ruled out arbitrary code execution on some platform. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments95% match
- [18]CVEInteger wraparound in PostgreSQL generation memory contexts: CVE-2026-116328 (High)(opens security advisory in a new tab)
High severity. Integer wraparound in PostgreSQL generation memory contexts allows a database user to execute arbitrary code as the operating system user running the database, via freeing an allocation larger than 1 GB and causing its block to be reused for smaller chunks whose back-pointer offset cannot represent that position. Within major versions 16-18, minor versions before PostgreSQL 18.7, 17.12, and 16.16 are affected. Versions before PostgreSQL 16 are unaffected.
by Tenable 0upvotes 0comments96% match
- [19]CVEType confusion in PostgreSQL statistics import: CVE-2026-116329 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL statistics import allows a table maintainer to execute arbitrary code as the operating system user running the database, via nested SET DATA TYPE during conversion of values to import. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
by Tenable 0upvotes 0comments96% match
- [20]CVEPostgreSQL portal setup: CVE-2026-116332 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL portal setup allows an object creator to execute arbitrary code as the operating system user running the database, via running user-defined code during planning or executor startup that closes the portal currently being prepared. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [21]CVEType confusion in PostgreSQL anonymous RECORD types: CVE-2026-120142 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL anonymous RECORD types allows an object creator to execute arbitrary code as the operating system user running the database, via row types having dropped attributes in the same positions but with different widths or alignments. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.
by Tenable 0upvotes 0comments96% match
- [22]CVEType confusion in PostgreSQL materialized set-returning functions: CVE-2026-120141 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL materialized set-returning functions allows a database user to execute arbitrary code as the operating system user running the database, via returning rows having different dynamic RECORD return types. json_populate_recordset() is one affected function. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments96% match
- [23]CVEPostgreSQL trigger functions: CVE-2026-120143 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL trigger functions allows an object creator to execute arbitrary code as the operating system user running the database, via a cursor over a transition table. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments96% match
- [24]CVEInteger wraparound in PostgreSQL in-memory tuple-size calculations: CVE-2026-120139 (High)(opens security advisory in a new tab)
High severity. Integer wraparound in PostgreSQL in-memory tuple-size calculations allows a database user to execute arbitrary code as the operating system user running the database, via oversized tuple data. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [25]CVEOperation on a dropped index in PostgreSQL REINDEX CONCURRENTLY: CVE-2026-116336 (High)(opens security advisory in a new tab)
High severity. Operation on a dropped index in PostgreSQL REINDEX CONCURRENTLY allows an object creator to execute arbitrary code as the operating system user running the database, via an index expression that issues DROP INDEX. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [26]CVEType confusion in PostgreSQL operator commutator and negator links: CVE-2026-116335 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL operator commutator and negator links allows an object creator to execute arbitrary code as the operating system user running the database, via linking operators having different result types or creating inconsistent reciprocal links. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [27]CVEType confusion in PostgreSQL extended statistics: CVE-2026-120148 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL extended statistics allows an object creator to execute arbitrary code as the operating system user running the database, via a statistics expression of an anonymous RECORD type whose backend-local type identifier denotes a different row type in another session. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [28]CVEPostgreSQL dblink extension: CVE-2026-120147 (High)(opens security advisory in a new tab)
High severity. Use after free in the PostgreSQL dblink extension allows an object creator to execute arbitrary code as the operating system user running the database, via type conversion code that re-enters dblink and closes a connection whose results an outer dblink call is reading. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [29]CVEPostgreSQL logical replication: CVE-2026-120145 (High)(opens security advisory in a new tab)
High severity. Missing authorization in PostgreSQL logical replication allows a compromised publisher to execute arbitrary code as the operating system user running the superuser-owned subscription, via naming a system catalog as a replication target. Only subscriptions owned by a superuser are vulnerable. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments95% match
- [30]CVEPostgreSQL foreign batch inserts: CVE-2026-120149 (High)(opens security advisory in a new tab)
High severity. Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code, via reporting that it inserted more rows than the server supplied. postgres_fdw can legitimately encounter this when a rule on the remote table expands an INSERT into additional rows. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments94% match
- [31]CVEPostgreSQL expanded-record domain checks: CVE-2026-120150 (High)(opens security advisory in a new tab)
High severity. Use after free in PostgreSQL expanded-record domain checks allows an object creator to execute arbitrary code as the operating system user running the database, via repeated checks of a domain over a composite type that cause reuse of a dangling memory-context pointer. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [32]CVEType confusion in PostgreSQL plpgsql record-field assignment: CVE-2026-120151 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL plpgsql record-field assignment allows an object creator to execute arbitrary code as the operating system user running the database, via a reentrant domain CHECK that changes a RECORD variable's row type while a value is being cast. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [33]CVEPostgreSQL extension-script substitutions: CVE-2026-120153 (High)(opens security advisory in a new tab)
High severity. SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings. This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments95% match
- [34]CVEExternal control of file name in PostgreSQL dblink and CREATE/ALTER SUBSCRIPTION: CVE-2026-14661 (High)(opens security advisory in a new tab)
High severity. External control of file name in PostgreSQL dblink and CREATE/ALTER SUBSCRIPTION allows a user to achieve persistent denial of service, via appending invalid data to a chosen file. Specifically, the "sslkeylogfile" connection parameter appends data, in NSS keylog format, to a file of the user's choosing. This "sslkeylogfile" mechanism cannot add arbitrary bytes. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are also…
by Tenable 0upvotes 0comments92% match
- [35]CVEType confusion in PostgreSQL: CVE-2026-6460 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system.…
by Tenable 0upvotes 0comments95% match
- [36]CVEType confusion in PostgreSQL SQL-language functions: CVE-2026-18447 (High)(opens security advisory in a new tab)
High severity. Type confusion in PostgreSQL SQL-language functions allows an object creator to execute arbitrary code as the operating system user running the database, via an output parameter of type "any". Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments97% match
- [37]CVEUncontrolled search path element in PostgreSQL CREATE EXTENSION: CVE-2026-6467 (High)(opens security advisory in a new tab)
High severity. Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user". ALTER EXTENSION was also affected. A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker's choice. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
by Tenable 0upvotes 0comments96% match
FAQ
What happened in the PostgreSQL issue?
Multiple high-severity vulnerabilities affecting PostgreSQL components including plperl, pltcl, parallel worker coordination, composite-value assignments, tsvector functions, vacuumdb, pg_restore, pg_dump, and reindexdb may allow arbitrary code execution or SQL injection. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
What is affected by the PostgreSQL issue?
PostgreSQL (versions: before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25). Also affected at the same time: AWS.
When did the PostgreSQL issue start and end?
It started Nov 12, 15:17 UTC and is still ongoing (6 d 13 h so far). This page updates as it develops.
How do I get alerts for PostgreSQL?
Subscribe to the PostgreSQL RSS feed for every new PostgreSQL incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether PostgreSQL is down. PostgreSQL feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 37 reports from 1 independent source.