p PatchFirst

PatchFirst · Latest vulnerabilities

postgresql 16.15: known vulnerabilities

Known vulnerabilities affecting postgresql 16.15: 43. Compare the fixes below with your installed release.

Filter vulnerabilities
Clear filters

Early warnings

Fresh vulnerability reports from vendor announcements and security news. These warnings do not change the security rating.

  1. postgresql

    18: Fixed in 18.7 · 17: Fixed in 17.12 · 16: Fixed in 16.16 · 15: Fixed in 15.20 · 14: Fixed in 14.25

    PostgreSQL: memory corruption

    According to cve.org, PostgreSQL has a memory corruption vulnerability (CVE-2026-116304). The exact affected versions are unspecified. Fixed versions: 18.7, 17.12, 16.16, 15.20 and 14.25.

    What to do now: Update PostgreSQL to the fixed release of your branch: 18.7 for 18, 17.12 for 17, 16.16 for 16, 15.20 for 15, 14.25 for 14.

    CVE-2026-116304

  2. postgresql

    18: Fixed in 18.7 · 16: Fixed in 16.16 · 15: Fixed in 15.20 · 14: Fixed in 14.25

    PostgreSQL: vulnerability

    According to cve.org, PostgreSQL has a vulnerability (CVE-2026-16237). The exact affected versions are unspecified. Fixed versions: 18.7, 16.16, 15.20 and 14.25.

    What to do now: Update PostgreSQL to the fixed release of your branch: 18.7 for 18, 16.16 for 16, 15.20 for 15, 14.25 for 14.

    CVE-2026-16237

  3. postgresql

    18: Fixed in 18.7 · 17: Fixed in 17.12 · 16: Fixed in 16.16 · 15: Fixed in 15.20 · 14: Fixed in 14.25

    PostgreSQL: vulnerability

    According to cve.org, PostgreSQL has a vulnerability (CVE-2026-16240). The exact affected versions are unspecified. Fixed versions: 18.7, 17.12, 16.16, 15.20 and 14.25.

    What to do now: Update PostgreSQL to the fixed release of your branch: 18.7 for 18, 17.12 for 17, 16.16 for 16, 15.20 for 15, 14.25 for 14.

    CVE-2026-16240

Vulnerabilities: 43

  1. CVE-2026-6467

    High · CVSS 7.2EPSS 0.53%Fix available

    PostgreSQL extension script schema mishandling executes arbitrary SQL

    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.

    • Update to 16.16
    Published Updated
  2. CVE-2026-6460

    High · CVSS 8.8EPSS 0.64%Public exploitFix available

    PostgreSQL type confusion after ALTER ... SET DATA TYPE executes arbitrary code

    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. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

    • Update to 16.16
    Published Updated
  3. CVE-2026-18447

    High · CVSS 8.8EPSS 0.57%Fix available

    PostgreSQL output parameter type confusion executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  4. CVE-2026-16240

    Low · CVSS 3.7EPSS 0.26%Fix available

    PostgreSQL pg_basebackup can use backup manifest content as a format string

    Use of externally-controlled format string in PostgreSQL pg_basebackup allows an attacker having already compromised a server to achieve disclosure from pg_basebackup memory, via backup manifest bytes. The vulnerability does not return the improperly-read bytes back to the attacker's server, so a successful attack would need separate implementation-specific secrets for that. Integrity impact is unlikely; in particular, the applicable formatter does not support %n. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

    • Update to 16.16
    Published Updated
  5. CVE-2026-16237

    Medium · CVSS 5.4EPSS 0.25%Fix available

    PostgreSQL INSERT ... ON CONFLICT can read or modify rows despite auto-updatable view WHERE condition

    Improper protection in PostgreSQL INSERT ... ON CONFLICT on auto-updatable views allows an attacker having INSERT and UPDATE privileges on the view to read and modify every row in the view's base table, via iterated INSERT ... ON CONFLICT DO UPDATE. This bypasses the view's WHERE condition, whether or not the view is a security_barrier view. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

    • Update to 16.16
    Published Updated
  6. CVE-2026-14661

    High · CVSS 8.1EPSS 0.4%Fix available

    PostgreSQL dblink and subscriptions can append to arbitrary files

    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 affected if libpq version 18 or later is installed and in use by the server.

    • Update to 16.16
    Published Updated
  7. CVE-2026-120154

    Medium · CVSS 4.3EPSS 0.29%Fix available

    PostgreSQL INSERT ... ON CONFLICT can read rows despite row security policies

    Improper protection in PostgreSQL INSERT ... ON CONFLICT allows an attacker having INSERT, UPDATE, and applicable SELECT privileges on the table to read every row despite row security policies, via iterated INSERT ... ON CONFLICT DO UPDATE. Unlike CVE-2026-16237, this does not facilitate improper writes. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

    • Update to 16.16
    Published Updated
  8. CVE-2026-120153

    High · CVSS 7.2EPSS 0.44%Fix available

    PostgreSQL extension-script substitutions allow SQL injection through object names

    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.

    • Update to 16.16
    Published Updated
  9. CVE-2026-120152

    Medium · CVSS 4.3EPSS 0.26%Fix available

    PostgreSQL pg_show_all_settings() use-after-free discloses memory

    Use after free in PostgreSQL pg_show_all_settings() allows a database user to retrieve memory contents, via loading a module while the function is scanning custom-variable placeholders that the module replaces and frees. Within major versions 16-18, minor versions before PostgreSQL 18.7, 17.12, and 16.16 are affected. Versions before PostgreSQL 16 are unaffected.

    • Update to 16.16
    Published Updated
  10. CVE-2026-120151

    High · CVSS 8.8EPSS 0.57%Fix available

    PostgreSQL plpgsql record-field type confusion executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  11. CVE-2026-120150

    High · CVSS 8.8EPSS 0.56%Fix available

    PostgreSQL expanded-record domain-check use-after-free executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  12. CVE-2026-120149

    High · CVSS 8.8EPSS 0.56%Fix available

    PostgreSQL FDW batch-insert mismatch executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  13. CVE-2026-120148

    High · CVSS 8.1EPSS 0.44%Fix available

    PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  14. CVE-2026-120147

    High · CVSS 8.8EPSS 0.56%Fix available

    PostgreSQL dblink reentrant disconnect use-after-free executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  15. CVE-2026-120146

    Medium · CVSS 4.3EPSS 0.21%Fix available

    PostgreSQL REASSIGN OWNED bypasses role SET and CREATEDB checks

    Missing authorization in PostgreSQL REASSIGN OWNED allows a role granted INHERIT but not SET to transfer objects to the granted role. It also allows reassignment of database ownership without the CREATEDB privilege. The equivalent ALTER ... OWNER commands block this. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

    • Update to 16.16
    Published Updated
  16. CVE-2026-120145

    High · CVSS 8.8EPSS 0.5%Fix available

    PostgreSQL logical replication can write to subscriber system catalogs, executing arbitrary code

    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.

    • Update to 16.16
    Published Updated
  17. CVE-2026-120143

    High · CVSS 8.8EPSS 0.52%Fix available

    PostgreSQL transition-table cursor use-after-free executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  18. CVE-2026-120141

    High · CVSS 8.8EPSS 0.57%Fix available

    PostgreSQL materialized set-returning function type confusion executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  19. CVE-2026-120139

    High · CVSS 8.8EPSS 0.57%Fix available

    PostgreSQL tuple-size integer wraparound executes arbitrary code

    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.

    • Update to 16.16
    Published Updated
  20. CVE-2026-116336

    High · CVSS 8.8EPSS 0.56%Fix available

    PostgreSQL REINDEX CONCURRENTLY does not block DROP INDEX during index functions

    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.

    • Update to 16.16
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →