PO
Database
PostgreSQL
by PostgreSQL · last CVE Oct 12, 2026
211
CVEs
0
On KEV
9.8
Max CVSS
1
New 30D
Severity mix
Critical 7High 76Medium 40Low 8
Watch

Add PostgreSQL to your stack to get only the CVEs that touch what you run.

CVECVSSEPSSPublishedSummary · affected versions
CVE-2026-14668
8.1
0%
Aug 13
PostgreSQL ctid type confusion in selectivity estimator discloses derivative of arbitrary read
Affected: 18 before 18.6; 17 before 17.11; 16 before 16.15; 15 before 15.19; before 14.24
CVE-2025-1094
8.1
90%
Feb 13
PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation
Affected: 17 before 17.3; 16 before 16.7; 15 before 15.11; 14 before 14.16; before 13.19
CVE-2021-23214
8.1
2%
Mar 4
When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker can inject arbitrary SQL…
Affected: before 9.6.24; 10.0 before 10.19; 11.0 before 11.14; 12.0 before 12.9; 13.0 before 13.5; 14.0
CVE-2020-25694
8.1
2%
Nov 16
A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24
Affected: before 9.5.24; 9.6.0 before 9.6.20; 10.0 before 10.15; 11.0 before 11.10; 12.0 before 12.5; 13.0 before 13.1
CVE-2016-7048
8.1
5%
Aug 20
The interactive installer in PostgreSQL before 9.3.15, 9.4.x before 9.4.10, and 9.5.x before 9.5.5 might allow remote attackers to execute arbitrary code by leveraging use of HTTP…
Affected: before 9.1.24; 9.2 before 9.2.19; 9.3 before 9.3.15; 9.4.0 before 9.4.10; 9.5.0 before 9.5.5
CVE-2018-10925
8.1
2%
Aug 9
It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 failed to properly check authorization on certain statements involved with "INSERT
Affected: 10.5; 9.6.10; 9.5.14; 9.4.19; 9.3.24
CVE-2017-15098
8.1
4%
Nov 22
Invalid json_populate_recordset or jsonb_populate_recordset function calls in 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, and 9.3.x…
Affected: 9.3; 9.3.1; 9.3.2; 9.3.3; 9.3.4; 9.3.5; +34 more
CVE-2024-0985
8.0
2%
Feb 8
Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer
Affected: 12.0 before 12.18; 13.0 before 13.14; 14.0 before 14.11; 15.0 before 15.6
CVE-2022-2625
8.0
2%
Aug 18
A vulnerability was found in PostgreSQL
Affected: 10.0 before 10.22; 11.0 before 11.17; 12.0 before 12.12; 13.0 before 13.8; 14.0 before 14.5; 15; +1 more
CVE-2019-10128
7.8
0%
Mar 19
A vulnerability was found in postgresql versions 11.x prior to 11.3
Affected: before 9.4.22; 9.5.0 before 9.5.17; 9.6.0 before 9.6.13; 10.0 before 10.8; 11.0 before 11.3
CVE-2026-6479
7.5
1%
May 14
PostgreSQL SSL/GSS init causes denial of service, via uncontrolled recursion
Affected: 18 before 18.4; 17 before 17.10; 16 before 16.14; 15 before 15.18; before 14.23
CVE-2024-7348
7.5
2%
Aug 8
PostgreSQL relation replacement during pg_dump executes arbitrary SQL
Affected: 16 before 16.4; 15 before 15.8; 14 before 14.13; 13 before 13.16; before 12.20
CVE-2020-25696
7.5
3%
Nov 23
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24
Affected: 9.5.0 before 9.5.24; 9.6.0 before 9.6.20; 10.0 before 10.15; 11.0 before 11.10; 12.0 before 12.5; 13.0 before 13.1
CVE-2015-3167
7.5
4%
Nov 20
contrib/pgcrypto in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7, and 9.4.x before 9.4.2 uses different error responses when an incorrect…
Affected: before 9.0.20; 9.1 before 9.1.16; 9.2 before 9.2.11; 9.3 before 9.3.7; 9.4 before 9.4.2
CVE-2018-10915
7.5
5%
Aug 9
A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between connections
Affected: 10.5; 9.6.10; 9.5.14; 9.4.19; 9.3.24
CVE-2017-7548
7.5
4%
Aug 16
PostgreSQL versions before 9.4.13, 9.5.8 and 9.6.4 are vulnerable to authorization flaw allowing remote authenticated attackers with no privileges on a large object to overwrite…
Affected: 9.4 before 9.4.13; 9.5 before 9.5.8; 9.6 before 9.6.4
CVE-2016-0768
7.5
1%
Jun 6
PostgreSQL PL/Java after 9.0 does not honor access controls on large objects
Affected: through 9.0
CVE-2017-7486
7.5
6%
May 12
PostgreSQL versions 8.4 - 9.6 are vulnerable to information leak in pg_user_mappings view which discloses foreign server passwords to any user having USAGE privilege on the…
Affected: 8.4; 8.4.1; 8.4.2; 8.4.3; 8.4.4; 8.4.5; +34 more
CVE-2017-7484
7.5
3%
May 12
It was found that some selectivity estimation functions in PostgreSQL before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3 did not…
Affected: through 9.2.20; 9.3; 9.3.1; 9.3.2; 9.3.3; 9.3.4; +34 more
CVE-2016-2193
7.5
2%
Apr 11
PostgreSQL before 9.5.x before 9.5.2 does not properly maintain row-security status in cached plans, which might allow attackers to bypass intended access restrictions by…
Affected: 9.5; 9.5.1
CVE-2016-0773
7.5
7%
Feb 17
PostgreSQL before 9.1.20, 9.2.x before 9.2.15, 9.3.x before 9.3.11, 9.4.x before 9.4.6, and 9.5.x before 9.5.1 allows remote attackers to cause a denial of service (infinite loop…
Affected: through 9.1.19; 9.2; 9.2.1; 9.2.2; 9.2.3; 9.2.4; +17 more
CVE-2002-1657
7.5
1%
Dec 31
PostgreSQL uses the username for a salt when generating passwords, which makes it easier for remote attackers to guess passwords via a brute force attack
Affected: 7.3.19
CVE-2020-10733
7.3
1%
Sep 16
The Windows installer for PostgreSQL 9.5 - 12 invokes system-provided executables that do not have fully-qualified paths
Affected: 9.5 before 9.5.22; 9.6 before 9.6.18; 10.0 before 10.13; 11.0 before 11.8; 12.0 before 12.3
CVE-2020-14350
7.3
1%
Aug 24
It was found that some PostgreSQL extensions did not use search_path safely in their installation script
Affected: 9.5 before 9.5.23; 9.6 before 9.6.19; 10.0 before 10.14; 11.0 before 11.9; 12.0 before 12.4
CVE-2026-6471
7.2
1%
Aug 13
PostgreSQL logical decoding can dlopen arbitrary file
Affected: 18 before 18.6; 17 before 17.11; 16 before 16.15; 15 before 15.19; before 14.24
CVE-2026-6476
7.2
0%
May 14
PostgreSQL pg_createsubscriber allows SQL injection via subscription name
Affected: 18 before 18.4; 17 before 17.10
CVE-2023-2454
7.2
1%
Jun 9
schema_element defeats protective search_path changes; It was found that certain database calls in PostgreSQL could permit an authed attacker with elevated database-level…
Affected: 11.0 before 11.20; 12.0 before 12.15; 13.0 before 13.11; 14.0 before 14.8; 15.0 before 15.3
CVE-2019-9193
7.2
92%
Apr 1
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to execute arbitrary code in the context…
Affected: 9.3 through 11.2
CVE-2020-14349
7.1
2%
Aug 24
It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication
Affected: 10.0 before 10.14; 11.0 before 11.9; 12.0 before 12.4
CVE-2016-5424
7.1
5%
Dec 9
PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote authenticated users with the CREATEDB or…
Affected: through 9.1.22; 9.2; 9.2.1; 9.2.2; 9.2.3; 9.2.4; +34 more
CVE-2019-10210
7.0
0%
Oct 29
Postgresql Windows installer before versions 11.5, 10.10, 9.6.15, 9.5.19, 9.4.24 is vulnerable via superuser writing password to unprotected temporary file
Affected: before 9.4.24; 9.5.0 before 9.5.19; 9.6.0 before 9.6.15; 10.0 before 10.10; 11.0 before 11.5
CVE-2017-14798
7.0
1%
Mar 1
A race condition in the postgresql init script could be used by attackers able to access the postgresql account to escalate their privileges to root
Affected: before 9.4-0.5.3.1
CVE-2018-1053
7.0
0%
Feb 9
In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory…
Affected: 9.3.0 before 9.3.21; 9.4.0 before 9.4.16; 9.5.0 before 9.5.11; 9.6.0 before 9.6.7; 10.0; 10.1
CVE-2017-12172
6.7
1%
Nov 22
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…
Affected: 9.2; 9.2.1; 9.2.2; 9.2.3; 9.2.4; 9.2.5; +34 more
CVE-2026-14663
6.5
0%
Aug 13
PostgreSQL pgcrypto, for OpenSSL-disabled ciphers, silently encrypts to and decrypts from cleartext
Affected: 18 before 18.6; 17 before 17.11; 16 before 16.15; 15 before 15.19; before 14.24
CVE-2026-6478
6.5
1%
May 14
PostgreSQL discloses MD5-hashed passwords via covert timing channel
Affected: 18 before 18.4; 17 before 17.10; 16 before 16.14; 15 before 15.18; before 14.23
CVE-2021-3677
6.5
1%
Mar 2
A flaw was found in postgresql
Affected: 11.0 before 11.13; 12.0 before 12.8; 13.0 before 13.4
CVE-2021-32028
6.5
2%
Oct 11
A flaw was found in postgresql
Affected: 9.6.0 before 9.6.22; 10.0 before 10.17; 11.0 before 11.12; 12.0 before 12.7; 13.0 before 13.3
CVE-2021-32029
6.5
2%
Oct 8
A flaw was found in postgresql
Affected: 11.0 before 11.12; 12.0 before 12.7; 13.0 before 13.3
CVE-2020-1720
6.5
1%
Mar 17
A flaw was found in PostgreSQL's "ALTER
Affected: 9.6 before 9.6.17; 10.0 before 10.12; 11.0 before 11.7; 12.0 before 12.2
CVE-2019-10129
6.5
2%
Jul 30
A vulnerability was found in postgresql versions 11.x prior to 11.3
Affected: 11.0 before 11.3
CVE-2018-1052
6.5
2%
Feb 9
Memory disclosure vulnerability in table partitioning was found in postgresql 10.x before 10.2, allowing an authenticated attacker to read arbitrary bytes of server memory via…
Affected: 10.0; 10.1
CVE-2017-15099
6.5
6%
Nov 22
INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to…
Affected: 9.5; 9.5.1; 9.5.2; 9.5.3; 9.5.4; 9.5.5; +11 more
CVE-2012-3489
6.5
3%
Oct 3
The xml_parse function in the libxml2 support in the core server component in PostgreSQL 8.3 before 8.3.20, 8.4 before 8.4.13, 9.0 before 9.0.9, and 9.1 before 9.1.5 allows remote…
Affected: 8.3.0 before 8.3.20; 8.4.0 before 8.4.13; 9.0.0 before 9.0.9; 9.1.0 before 9.1.5
CVE-2026-109448
5.9
0%
Oct 12
psqlODBC SQLBindParameter heap memory corruption when binding more than 32767 parameters
Affected: 08.01.0102 before 18.00.0005
CVE-2025-12818
5.9
0%
Nov 13
PostgreSQL libpq undersizes allocations, via integer wraparound
Affected: 18 before 18.1; 17 before 17.7; 16 before 16.11; 15 before 15.15; 14 before 14.20; before 13.23
CVE-2025-4207
5.9
1%
May 8
PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validation
Affected: 17 before 17.5; 16 before 16.9; 15 before 15.13; 14 before 14.18; before 13.21
CVE-2021-43767
5.9
0%
Aug 25
Odyssey passes to client unencrypted bytes from man-in-the-middle When Odyssey storage is configured to use the PostgreSQL server using 'trust' authentication with a 'clientcert'…
Affected: 9.6.0 before 9.6.24; 10.0 before 10.19; 11.0 before 11.14; 12.0 before 12.9; 13.0 before 13.5; 14.0
CVE-2021-23222
5.9
2%
Mar 2
A man-in-the-middle attacker can inject false responses to the client's first few queries, despite the use of SSL certificate verification and encryption
Affected: 9.6 before 9.6.24; 10.0 before 10.19; 11.0 before 11.14; 12.0 before 12.9; 13.0 before 13.5; 14.0
CVE-2017-7485
5.9
2%
May 12
In PostgreSQL 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3, it was found that the PGREQUIRESSL environment variable was no longer enforcing…
Affected: 9.3; 9.3.1; 9.3.2; 9.3.3; 9.3.4; 9.3.5; +33 more
Page 2 of 5 · 211 total
123…5