VulnSea

postgresql has 41 CVEs on record between 2017 and 2026. Disclosure cadence is accelerating: 29 in the last 90 days against 3 in the 90 before. The busiest recent month was August 2026 with 28. The median CVSS is 8.2 (high), with 1 rated critical. None have a confirmed exploitation report. The dominant weakness classes are CWE-122 (7) and CWE-190 (5). Most affected products: postgresql (39), postgresql_jdbc_driver (1), psqlODBC (1).

CVEs per month

Last 12 months, by publish date

111201020304050607080910
Exploited share
0% vs 1% corpus
Median CVSS
8.2
Publish → KEV
—
Last 90 days
29 prev 3

Products

  • postgresql 39
  • postgresql_jdbc_driver 1
  • psqlODBC 1
41
Total CVEs
1
Critical
0
CISA KEV
0
Exploited

postgresql vulnerabilities

CVEs affecting postgresql, newest first. Open any entry for full detail, references, and exploit status.

41 CVEsRSS

CVE-2026-6477High· 8.8
5mo ago

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-l…

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-l…

▾ Twilightpostgresql · postgresqlEPSS 0.45%via NVD
CVE-2026-6473High· 8.8
5mo ago

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

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 …

▾ Twilightpostgresql · postgresqlEPSS 1.0%via NVD
CVE-2026-42198High· 7.5
6mo ago

pgjdbc is an open source postgresql JDBC Driver

pgjdbc is an open source postgresql JDBC Driver. From version 42.2.0 to before version 42.7.11, pgjdbc is vulnerable to a client-side denial of service during SCRAM-SHA-256 authentication. A malicious server can instruct the driver to pe…

▾ Twilightpostgresql · postgresql_jdbc_driverEPSS 3.3%via NVD
CVE-2026-2007High· 8.2
8mo ago

Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string

Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string. The attacker has limited control over the byte patterns to be written, but we have not ruled out the viability of a…

▾ Twilightpostgresql · postgresqlEPSS 0.55%via NVD
CVE-2026-2006High· 8.8
8mo ago

Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun

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…

▾ Twilightpostgresql · postgresqlEPSS 1.2%via NVD
CVE-2026-2005High· 8.8PoC
8mo ago

Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database

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.

▾ Midnightpostgresql · postgresqlEPSS 1.4%via NVD
CVE-2026-2004High· 8.8
8mo ago

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

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, 1…

▾ Twilightpostgresql · postgresqlEPSS 1.3%via NVD
CVE-2023-5868Medium· 4.3
2y ago

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string l…

▾ Sunlitpostgresql · postgresqlEPSS 2.8%via NVD
CVE-2023-39417High· 7.5
3y ago

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or "")

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vu…

▾ Twilightpostgresql · postgresqlEPSS 1.7%via NVD
CVE-2018-1115Critical· 9.1⚖ disputed
8y ago

postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile

postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able t…

▾ Midnightpostgresql · postgresqlEPSS 3.8%via NVD
CVE-2017-12172Medium· 6.7
8y ago

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run…

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run…

▾ Sunlitpostgresql · postgresqlEPSS 0.59%via NVD
postgresql vulnerabilities (CVEs) — page 2 · VulnSea