p PatchFirst

PatchFirst · Latest vulnerabilities

postgresql-17 vulnerabilities · Page 2

Vulnerabilities published for postgresql-17 in the last 30 days: 0. Listed in the KEV catalogue: 0.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 52

  1. CVE-2026-14669

    High · CVSS 8.8EPSS 0.66%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 17.11-0+deb13u1
    Published Updated
  2. CVE-2026-14668

    High · CVSS 8.1EPSS 0.33%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 17.11-0+deb13u1
    Published Updated
  3. CVE-2026-14666

    Medium · CVSS 4.2EPSS 0.18%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 17.11-0+deb13u1
    Published Updated
  4. CVE-2026-14664

    High · CVSS 8.8EPSS 0.44%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 17.11-0+deb13u1
    Published Updated
  5. CVE-2026-14663

    Medium · CVSS 6.5EPSS 0.1%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 17.11-0+deb13u1
    Published Updated
  6. CVE-2026-14662

    High · CVSS 8.8EPSS 0.46%Fix 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 17.11-0+deb13u1
    Published Updated
  7. CVE-2026-6638

    Low · CVSS 3.7EPSS 0.18%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 17.10-0+deb13u1
    Published Updated
  8. CVE-2026-6637

    High · CVSS 8.8EPSS 0.37%Fix available

    PostgreSQL refint allows stack buffer overflow and SQL injection

    Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system user running the database. A distinct attack is possible if the application declares a user-controlled column as a "refint" cascade primary key and facilitates user-controlled updates to that column. In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.10-0+deb13u1
    Published Updated
  9. CVE-2026-6479

    High · CVSS 7.5EPSS 0.6%Fix available

    PostgreSQL SSL/GSS init causes denial of service, via uncontrolled recursion

    Uncontrolled recursion in PostgreSQL SSL and GSS negotiation allows an attacker able to connect to a PostgreSQL AF_UNIX socket to achieve sustained denial of service. If SSL and GSS are both disabled, an attacker can do the same via access to a PostgreSQL TCP socket. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.10-0+deb13u1
    Published Updated
  10. CVE-2026-6478

    Medium · CVSS 6.5EPSS 0.56%Fix available

    PostgreSQL discloses MD5-hashed passwords via covert timing channel

    Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover user credentials sufficient to authenticate. This does not affect scram-sha-256 passwords, the default in all supported releases. However, current databases may have MD5-hashed passwords originating in upgrades from PostgreSQL 13 or earlier. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.10-0+deb13u1
    Published Updated
  11. CVE-2026-6477

    High · CVSS 8.8EPSS 0.45%Fix available

    PostgreSQL libpq lo_* functions let server superuser overwrite client stack memory

    Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lseek64(), and lo_tell64() functions allows the server superuser to overwrite a client stack buffer with an arbitrarily-large response. Like gets(), PQfn(..., result_is_int=0, ...) stores arbitrary-length, server-determined data into a buffer of unspecified size. Because both the \lo_export command in psql and pg_dump call lo_read(), the server superuser can overwrite pg_dump or psql stack memory. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.10-0+deb13u1
    Published Updated
  12. CVE-2026-6476

    High · CVSS 7.2EPSS 0.29%Fix available

    PostgreSQL pg_createsubscriber allows SQL injection via subscription name

    SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitrary SQL as a superuser. The attack takes effect when pg_createsubscriber next runs. Within major versions 17 and 18, minor versions before PostgreSQL 18.4 and 17.10 are affected. Versions before PostgreSQL 17 are unaffected.

    • Update to 17.10-0+deb13u1
    Published Updated
  13. CVE-2026-6475

    High · CVSS 8.8EPSS 0.32%Fix available

    PostgreSQL pg_basebackup and pg_rewind can overwrite unrelated files of origin superuser choice

    Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite local files, e.g. /var/lib/postgres/.bashrc, that hijack the operating system account. It will remain the case that starting the server after these commands implicitly trusts the origin superuser, due to features like shared_preload_libraries. Hence, the attack has practical implications only if one takes relevant action between these commands and server start, like moving the files to a different VM or snapshotting the VM. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.10-0+deb13u1
    Published Updated
  14. CVE-2026-6474

    Medium · CVSS 4.3EPSS 0.21%Fix available

    PostgreSQL timeofday() can disclose portions of server memory

    Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server memory, via crafted timezone zones. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.10-0+deb13u1
    Published Updated
  15. CVE-2026-6473

    High · CVSS 8.8EPSS 1.01%Fix available

    PostgreSQL server undersizes allocations, via integer wraparound

    Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. In applications that pass gigabyte-scale user inputs to the relevant database functions, the application input provider may achieve a segmentation fault. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.11-0+deb13u1
    Published Updated
  16. CVE-2026-6472

    Medium · CVSS 5.4EPSS 0.16%Fix available

    PostgreSQL CREATE TYPE does not check multirange schema CREATE privilege

    Missing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to find user-defined types, including extension-defined types. That is to say, the victim will execute arbitrary SQL functions of the attacker's choice. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

    • Update to 17.10-0+deb13u1
    Published Updated
  17. CVE-2026-2006

    High · CVSS 8.8EPSS 1.16%Fix available

    PostgreSQL missing validation of multibyte character length executes arbitrary code

    Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

    • Update to 17.8-0+deb13u1
    Published Updated
  18. CVE-2026-2005

    High · CVSS 8.8EPSS 1.37%Public exploitFix available

    PostgreSQL pgcrypto heap buffer overflow executes arbitrary code

    Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

    • Update to 17.8-0+deb13u1
    Published Updated
  19. CVE-2026-2004

    High · CVSS 8.8EPSS 1.34%Fix available

    PostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code

    Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

    • Update to 17.8-0+deb13u1
    Published Updated
  20. CVE-2026-2003

    Medium · CVSS 4.3EPSS 0.32%Fix available

    PostgreSQL oidvector discloses a few bytes of memory

    Improper validation of type "oidvector" in PostgreSQL allows a database user to disclose a few bytes of server memory. We have not ruled out viability of attacks that arrange for presence of confidential information in disclosed bytes, but they seem unlikely. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

    • Update to 17.8-0+deb13u1
    Published Updated

Check your server

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

Check your server →