p PatchFirst

PatchFirst · Latest vulnerabilities

postgresql 18.6: known vulnerabilities · Page 2

Known vulnerabilities affecting postgresql 18.6: 52. 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: 52

  1. 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 18.7
    Published Updated
  2. 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 18.7
    Published Updated
  3. CVE-2026-116335

    High · CVSS 8.8EPSS 0.52%Fix available

    PostgreSQL commutator or negator result-type confusion executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  4. CVE-2026-116333

    Medium · CVSS 6.5EPSS 0.35%Fix available

    PostgreSQL parallel B-tree array scan reads beyond array bounds

    Buffer over-read in PostgreSQL parallel B-tree scans allows an object creator to read attacker-chosen server-memory addresses, via a function incorrectly marked PARALLEL SAFE or STABLE to make participating workers build different scan-key arrays. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.

    • Update to 18.7
    Published Updated
  5. CVE-2026-116332

    High · CVSS 8.8EPSS 0.52%Fix available

    PostgreSQL portal setup use-after-free executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  6. CVE-2026-116331

    High · CVSS 8.8EPSS 0.74%Public exploitFix available

    PostgreSQL min/max aggregate type confusion executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  7. CVE-2026-116330

    High · CVSS 8.8EPSS 0.46%Fix available

    PostgreSQL pg_dump tar restore.sql fails to block psql command injection

    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.

    • Update to 18.7
    Published Updated
  8. CVE-2026-116329

    High · CVSS 8.8EPSS 0.57%Fix available

    PostgreSQL statistics import type confusion executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  9. CVE-2026-116328

    High · CVSS 8.8EPSS 0.52%Fix available

    PostgreSQL generation memory context integer wraparound executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  10. CVE-2026-116327

    Medium · CVSS 4.3EPSS 0.27%Fix available

    PostgreSQL security_barrier analysis can expose hidden values through indirect expressions

    Exposure of sensitive information in PostgreSQL security_barrier processing allows a database user to infer values hidden by a security_barrier view, via applying a leaky function to a CASE test value or internal parameter that indirectly represents a protected column. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

    • Update to 18.7
    Published Updated
  11. CVE-2026-116326

    High · CVSS 8.8EPSS 0.5%Fix available

    PostgreSQL plperl tied-object exceptions follow stale sigjmp_buf

    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.

    • Update to 18.7
    Published Updated
  12. CVE-2026-116325

    High · CVSS 8.0EPSS 0.29%Fix available

    PostgreSQL reindexdb index name quoting allows SQL injection

    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.

    • Update to 18.7
    Published Updated
  13. CVE-2026-116323

    High · CVSS 8.8EPSS 0.47%Fix available

    PostgreSQL pltcl reentrant result conversion use-after-free executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  14. CVE-2026-116322

    Medium · CVSS 5.3EPSS 0.36%Fix available

    PostgreSQL pre-authentication cancel request can leak a spinlock

    Improper locking in PostgreSQL startup processing allows an unauthenticated network client to trigger a server restart, via arranging for authentication_timeout to arrive while it holds a spinlock during cancel handling. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.

    • Update to 18.7
    Published Updated
  15. CVE-2026-116321

    Medium · CVSS 4.3EPSS 0.3%Fix available

    PostgreSQL unterminated name value discloses server memory

    Improper null termination in PostgreSQL array element assignment allows a database user to disclose server memory, via changing the final byte of a fixed-length name value to a nonzero byte and passing it to code that treats the value as a C string. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

    • Update to 18.7
    Published Updated
  16. CVE-2026-116320

    High · CVSS 8.8EPSS 0.47%Fix available

    PostgreSQL plperl array and hash conversion use-after-free executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  17. CVE-2026-116319

    High · CVSS 8.8EPSS 0.52%Fix available

    PostgreSQL plperl reentrant return_next() use-after-free executes arbitrary code

    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.

    • Update to 18.7
    Published Updated
  18. CVE-2026-116318

    High · CVSS 8.8EPSS 0.42%Fix available

    PostgreSQL pg_dump not-null constraint name allows SQL injection

    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.

    • Update to 18.7
    Published Updated
  19. CVE-2026-116317

    High · CVSS 8.8EPSS 0.52%Fix available

    PostgreSQL ts_rank_cd() heap buffer overflow may execute arbitrary code

    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.

    • Update to 18.7
    Published Updated
  20. CVE-2026-116316

    High · CVSS 8.8EPSS 0.42%Fix available

    PostgreSQL security-restricted operations can create types in pg_temp, which later queries of the session find

    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 14.25 are affected.

    • Update to 18.7
    Published Updated

Check your server

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

Check your server →