p PatchFirst

PatchFirst · Latest vulnerabilities

postgresql16 vulnerabilities · Page 4

Vulnerabilities published for postgresql16 in the last 30 days: 52. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 109

  1. CVE-2026-16241

    Low · CVSS 3.8EPSS 0.34%Fix available

    PostgreSQL ECPG integer underflow can crash the client

    Integer underflow in PostgreSQL ECPG allows a database server administrator to achieve temporary denial of service against the ECPG client via sending a bytea value lacking the mandatory prefix. The client overwrites a huge memory region with bytes outside attacker knowledge or control. This typically yields a simple SIGSEGV, but rare cases might achieve client-specific integrity impact via the write. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  2. CVE-2026-16239

    High · CVSS 8.8EPSS 0.6%Fix available

    PostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code

    Type confusion in PostgreSQL "portal"/cursor lifecycle allows a user to execute arbitrary code as the operating system user running the database, via re-creation of a cursor or other portal with different types. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  3. CVE-2026-16238

    High · CVSS 8.8EPSS 0.6%Fix available

    PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code

    Type confusion in PostgreSQL pg_restore_attribute_stats() allows an object creator to execute arbitrary code as the operating system user running the database, via conflation of range and multirange values. Within major version 18, minor versions before PostgreSQL 18.6 are affected. Versions before PostgreSQL 18 are unaffected.

    • Update to 16.15-r0
    Published Updated
  4. CVE-2026-15742

    High · CVSS 8.8EPSS 0.49%Fix available

    PostgreSQL fuzzystrmatch writes effectively-arbitrary addresses, via integer wraparound

    Integer wraparound in PostgreSQL fuzzystrmatch allows a user to direct writes to a huge range of addresses, executing arbitrary code as the operating system user running the database, via extreme inputs to SQL function levenshtein() or levenshtein_less_equal(). Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  5. CVE-2026-15741

    High · CVSS 8.8EPSS 0.41%Fix available

    PostgreSQL expression deparse allows SQL injection via EXTRACT argument

    SQL injection in PostgreSQL EXTRACT() deparse allows an object owner to execute arbitrary SQL as a superuser via a hostile object definition. Attacks affect expression deparse consumers broadly, including pg_dump, psql commands like \sf, and any similar usage in non-core tools. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  6. CVE-2026-14680

    High · CVSS 8.8EPSS 0.6%Fix available

    PostgreSQL type confusion via "internal" arguments

    Type confusion with PostgreSQL "internal" data type arguments allows any user to execute arbitrary code as the operating system user running the database, via calls to functions with that argument type. Type "internal" represents a class of mutually-incompatible data structures not intended for access from SQL. The system intended to prevent such function calls, but this prevention had gaps. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  7. CVE-2026-14679

    High · CVSS 8.2EPSS 0.4%Fix available

    PostgreSQL stack buffer overflow in argument match writes 0x0 and 0x1 to server memory

    Stack buffer overflow in PostgreSQL argument name matching allows an object creator to achieve unknown impacts via OUT parameter count. The attack can write only 0x0 and 0x1 bytes. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  8. CVE-2026-14678

    Medium · CVSS 4.3EPSS 0.3%Fix available

    PostgreSQL pg_trgm picksplit reads past end of buffer

    Buffer over-read in PostgreSQL pg_trgm index picksplit function reads past end of a heap buffer. This might allow a table maintainer to infer limited memory values, via the lossy signal of index split choices. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  9. CVE-2026-14677

    High · CVSS 8.8EPSS 0.6%Fix available

    PostgreSQL 32-bit pltcl and plperl undersize allocations, via integer wraparound

    Integer wraparound in PostgreSQL 32-bit builds of pltcl and plperl allows an object creator to cause the server to undersize an allocation and write out-of-bounds via crafted function bodies. This may execute arbitrary code as the operating system user running the database. CVE-2026-6473 had fixed similar problems. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  10. CVE-2026-14676

    High · CVSS 8.8EPSS 0.61%Fix available

    PostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code

    Heap buffer overflow in PostgreSQL pg_stat_statements allows the query author to execute arbitrary code as the operating system user running the database, via crafted queries containing array constants. Within major version 18, minor versions before PostgreSQL 18.6 are affected. Versions before PostgreSQL 18 are unaffected.

    • Update to 16.15-r0
    Published Updated
  11. CVE-2026-14673

    Low · CVSS 3.8EPSS 0.27%Fix available

    PostgreSQL amcheck does not clear untrusted search path

    Untrusted search path in PostgreSQL amcheck allows a grantee of amcheck function EXECUTE privilege to execute arbitrary functions as the owners of expression indexes that depend on the search path, via setting a hostile search path before calling the amcheck function. Within major versions 18, 16, 15, and 14, minor versions before PostgreSQL 18.6, 16.15, 15.19, and 14.24 are affected. PostgreSQL 17 is unaffected.

    • Update to 16.15-r0
    Published Updated
  12. CVE-2026-14672

    Medium · CVSS 5.3EPSS 0.39%Fix available

    PostgreSQL observable response discrepancy with non-default scram_iterations provides user existence oracle

    Observable response discrepancy in PostgreSQL SCRAM authentication allows an unauthenticated user to test the existence of a user via observing the SCRAM iteration count. This requires the probed user to have a non-default scram_iterations count, because the authentication challenge for a nonexistent user reports the default scram_iterations. Within major versions 16-18, minor versions before PostgreSQL 18.6, 17.11, and 16.15 are affected. Versions before PostgreSQL 16 are unaffected.

    • Update to 16.15-r0
    Published Updated
  13. CVE-2026-14670

    High · CVSS 8.8EPSS 0.61%Fix available

    PostgreSQL plperl tied object heap buffer overflow executes arbitrary code

    Heap buffer overflow in PostgreSQL plperl return of a tied hash allows the function owner to execute arbitrary code as the operating system user running the database, via a crafted function body. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  14. CVE-2026-14669

    High · CVSS 8.8EPSS 0.71%Fix available

    PostgreSQL to_char heap buffer overflow executes arbitrary code

    Heap buffer overflow in PostgreSQL to_char(timestamptz) allows the party choosing the timezone to execute arbitrary code as the operating system user running the database, via a long POSIX timezone abbreviation. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  15. CVE-2026-14668

    High · CVSS 8.1EPSS 0.46%Fix available

    PostgreSQL ctid type confusion in selectivity estimator discloses derivative of arbitrary read

    Type confusion regarding input of PostgreSQL ctid data type selectivity estimator allows an object creator to view a calculation derived from the value of an arbitrary 4-byte span of memory, via a chosen non-ctid input. While the calculation loses precision, substantial memory value recovery appears possible. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  16. CVE-2026-14666

    Medium · CVSS 4.2EPSS 0.21%Fix available

    PostgreSQL row security caching disregards role modifications

    Incomplete tracking in PostgreSQL of changes to role membership, role attributes, and database ownership allows a query to continue using cached row-level security policies after those changes require a different policy, via plan reuse. Stale policies continue until some other event invalidates the cache or connection termination ends the session. This permits a user to complete reads and modifications that were recently permitted but now forbidden. An attacker must tailor an attack to a particular application's pattern of privilege removal and role-specific row security policies. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and

    • Update to 16.15-r0
    Published Updated
  17. CVE-2026-14664

    High · CVSS 8.8EPSS 0.61%Fix available

    PostgreSQL regexp heap buffer overflow executes arbitrary code

    Heap buffer overflow in PostgreSQL regexp allows the query author to execute arbitrary code as the operating system user running the database, via text that would not pass encoding validation. This shares heritage with CVE-2026-2006, but this case involved unanticipated data growth when round-tripped through pg_wchar. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  18. CVE-2026-14663

    Medium · CVSS 6.5EPSS 0.11%Fix available

    PostgreSQL pgcrypto, for OpenSSL-disabled ciphers, silently encrypts to and decrypts from cleartext

    Cleartext storage in PostgreSQL pgcrypto disabled ciphers allows a user to recover cleartext, via direct observation of the faulty ciphertext. The OpenSSL version and OpenSSL configuration determine the disabled ciphers. If the application accepts encrypted data as input, decryption will succeed even with the wrong key. This in turn loses the modest protection from the Modification Detection Code (MDC). Affected functions are pgp_sym_encrypt, pgp_sym_decrypt, pgp_pub_encrypt, pgp_pub_decrypt, pgp_sym_encrypt_bytea, pgp_sym_decrypt_bytea, pgp_pub_encrypt_bytea, and pgp_pub_decrypt_bytea. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.1

    • Update to 16.15-r0
    Published Updated
  19. CVE-2026-14662

    High · CVSS 8.8EPSS 0.62%Public exploitFix available

    PostgreSQL tsvector and tsquery undersize allocations, via integer wraparound

    Integer wraparound in PostgreSQL tsvector and tsquery data type functions allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds, via crafted large inputs. This may execute arbitrary code as the operating system user running the database. These types are typically sourced from application logic, not taken from the application's user. Hence, application users attacking the database, through the application as a conduit, are unlikely. CVE-2026-6473 had fixed similar problems. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

    • Update to 16.15-r0
    Published Updated
  20. CVE-2026-6638

    Low · CVSS 3.7EPSS 0.27%Fix available

    PostgreSQL REFRESH PUBLICATION allows SQL injection via table name

    SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.

    • Update to 16.14-r0
    Published Updated

Check your server

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

Check your server →