← Back

Postgresql

postgresql

186 CVEs • 3 products

Products (3)

Click to collapse
Toggle

CVEs (186)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
3Debian
FedoraprojectPostgresql
3Debian Linux
FedoraPostgresql Jdbc Driver
Jun 17, 2026
Aug 3, 2022
N/A· v4
8.0 HIGH· v3
N/A· v2
PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the `java.sql.ResultRow.refreshRow()` method...Show more
PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the `java.sql.ResultRow.refreshRow()` method is not performing escaping of column names so a malicious column name that contains a statement terminator, e.g. `;`, could lead to SQL injection. This could lead to executing additional SQL commands as the application's JDBC user. User applications that do not invoke the `ResultSet.refreshRow()` method are not impacted. User application that do invoke that method are impacted if the underlying database that they are querying via their JDBC application may be under the control of an attacker. The attack requires the attacker to trick the user into executing SQL against a table name who's column names would contain the malicious SQL and subsequently invoke the `refreshRow()` method on the ResultSet. Note that the application's JDBC user and the schema owner need not be the same. A JDBC application that executes as a privileged user querying database schemas owned by potentially malicious less-privileged users would be vulnerable. In that situation it may be possible for the malicious user to craft a schema that causes the application to execute commands as the privileged user. Patched versions will be released as `42.2.26` and `42.4.1`. Users are advised to upgrade. There are no known workarounds for this issue.Show less
2Debian
Postgresql
2Debian Linux
Postgresql Jdbc Driver
Jun 17, 2026
Mar 10, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example s...Show more
In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: the vendor's position is that there is no pgjdbc vulnerability; instead, it is a vulnerability for any application to use the pgjdbc driver with untrusted connection propertiesShow less
3Fedoraproject
PostgresqlRedhat
6Enterprise Linux
Enterprise Linux For Ibm Z SystemsEnterprise Linux For Power Little Endian+3 more
Jun 17, 2026
Mar 4, 2022
N/A· v4
8.1 HIGH· v3
5.1 MEDIUM· v2
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 queries when a connection is first established,...Show more
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 queries when a connection is first established, despite the use of SSL certificate verification and encryption.Show less
3Fedoraproject
PostgresqlRedhat
7Enterprise Linux
Enterprise Linux For Ibm Z SystemsEnterprise Linux For Power Little Endian+4 more
Jun 17, 2026
Mar 2, 2022
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
A flaw was found in postgresql. A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. The attack does not requi...Show more
A flaw was found in postgresql. A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. The attack does not require the ability to create objects. If server settings include max_worker_processes=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting.Show less
1Postgresql
1Postgresql
Jun 17, 2026
Mar 2, 2022
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
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.
4Debian
FedoraprojectPostgresql+1 more
4Debian Linux
FedoraPostgresql Jdbc Driver+1 more
Jun 17, 2026
Feb 2, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker con...Show more
pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker control the jdbc url or properties. pgjdbc instantiates plugin instances based on class names provided via `authenticationPluginClassName`, `sslhostnameverifier`, `socketFactory`, `sslfactory`, `sslpasswordcallback` connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. Users using plugins are advised to upgrade. There are no known workarounds for this issue.Show less
1Postgresql
1Postgresql
Jun 17, 2026
Oct 11, 2021
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
A flaw was found in postgresql. Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this v...Show more
A flaw was found in postgresql. Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is to data confidentiality.Show less
2Postgresql
Redhat
2Jboss Enterprise Application Platform
Postgresql
Jun 17, 2026
Oct 8, 2021
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
A flaw was found in postgresql. Using an UPDATE ... RETURNING command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is...Show more
A flaw was found in postgresql. Using an UPDATE ... RETURNING command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is to data confidentiality.Show less
2Postgresql
Redhat
4Enterprise Linux
Jboss Enterprise Application PlatformPostgresql+1 more
Jun 17, 2026
Jun 1, 2021
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
A flaw was found in postgresql in versions before 13.3, before 12.7, before 11.12, before 10.17 and before 9.6.22. While modifying certain SQL array values, missing bounds checks let authenticated database users write ar...Show more
A flaw was found in postgresql in versions before 13.3, before 12.7, before 11.12, before 10.17 and before 9.6.22. While modifying certain SQL array values, missing bounds checks let authenticated database users write arbitrary bytes to a wide area of server memory. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.Show less
2Postgresql
Redhat
3Enterprise Linux
PostgresqlSoftware Collections
Jun 17, 2026
Apr 1, 2021
N/A· v4
4.3 MEDIUM· v3
3.5 LOW· v2
An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under so...Show more
An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.Show less
1Postgresql
1Postgresql
Jun 17, 2026
Mar 19, 2021
N/A· v4
7.8 HIGH· v3
4.1 MEDIUM· v2
A vulnerability was found in postgresql versions 11.x prior to 11.3. The Windows installer for EnterpriseDB-supplied PostgreSQL does not lock down the ACL of the binary installation directory or the ACL of the data direc...Show more
A vulnerability was found in postgresql versions 11.x prior to 11.3. The Windows installer for EnterpriseDB-supplied PostgreSQL does not lock down the ACL of the binary installation directory or the ACL of the data directory; it keeps the inherited ACL. In the default configuration, this allows a local attacker to read arbitrary data directory files, essentially bypassing database-imposed read access limitations. In plausible non-default configurations, an attacker having both an unprivileged Windows account and an unprivileged PostgreSQL account can cause the PostgreSQL service account to execute arbitrary code.Show less
1Postgresql
1Postgresql
Jun 17, 2026
Mar 19, 2021
N/A· v4
8.8 HIGH· v3
4.3 MEDIUM· v2
A vulnerability was found in postgresql versions 11.x prior to 11.3. The Windows installer for BigSQL-supplied PostgreSQL does not lock down the ACL of the binary installation directory or the ACL of the data directory;...Show more
A vulnerability was found in postgresql versions 11.x prior to 11.3. The Windows installer for BigSQL-supplied PostgreSQL does not lock down the ACL of the binary installation directory or the ACL of the data directory; it keeps the inherited ACL. In the default configuration, an attacker having both an unprivileged Windows account and an unprivileged PostgreSQL account can cause the PostgreSQL service account to execute arbitrary code. An attacker having only the unprivileged Windows account can read arbitrary data directory files, essentially bypassing database-imposed read access limitations. An attacker having only the unprivileged Windows account can also delete certain data directory files.Show less
3Fedoraproject
PostgresqlRedhat
4Enterprise Linux
FedoraPostgresql+1 more
Jun 17, 2026
Feb 23, 2021
N/A· v4
4.3 MEDIUM· v3
4.0 MEDIUM· v2
A flaw was found in PostgreSQL in versions before 13.2. This flaw allows a user with SELECT privilege on one column to craft a special query that returns all columns of the table. The highest threat from this vulnerabili...Show more
A flaw was found in PostgreSQL in versions before 13.2. This flaw allows a user with SELECT privilege on one column to craft a special query that returns all columns of the table. The highest threat from this vulnerability is to confidentiality.Show less
2Debian
Postgresql
2Debian Linux
Postgresql
Jun 17, 2026
Nov 23, 2020
N/A· v4
7.5 HIGH· v3
7.6 HIGH· v2
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. If an interactive psql session uses \gset when querying a...Show more
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. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.Show less
2Debian
Postgresql
2Debian Linux
Postgresql
Jun 17, 2026
Nov 16, 2020
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
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. An attacker having permission to create non-temporary objects in at least one schema can exec...Show more
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. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.Show less
2Debian
Postgresql
2Debian Linux
Postgresql
Jun 17, 2026
Nov 16, 2020
N/A· v4
8.1 HIGH· v3
6.8 MEDIUM· v2
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. If a client application that creates additional database connections only reuses the basic co...Show more
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. If a client application that creates additional database connections only reuses the basic connection parameters while dropping security-relevant parameters, an opportunity for a man-in-the-middle attack, or the ability to observe clear-text transmissions, could exist. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.Show less
1Postgresql
1Postgresql
Jun 17, 2026
Sep 16, 2020
N/A· v4
7.3 HIGH· v3
4.4 MEDIUM· v2
The Windows installer for PostgreSQL 9.5 - 12 invokes system-provided executables that do not have fully-qualified paths. Executables in the directory where the installer loads or the current working directory take prece...Show more
The Windows installer for PostgreSQL 9.5 - 12 invokes system-provided executables that do not have fully-qualified paths. Executables in the directory where the installer loads or the current working directory take precedence over the intended executables. An attacker having permission to add files into one of those directories can use this to execute arbitrary code with the installer's administrative rights.Show less
4Canonical
DebianOpensuse+1 more
4Debian Linux
LeapPostgresql+1 more
Jun 17, 2026
Aug 24, 2020
N/A· v4
7.3 HIGH· v3
4.4 MEDIUM· v2
It was found that some PostgreSQL extensions did not use search_path safely in their installation script. An attacker with sufficient privileges could use this flaw to trick an administrator into executing a specially cr...Show more
It was found that some PostgreSQL extensions did not use search_path safely in their installation script. An attacker with sufficient privileges could use this flaw to trick an administrator into executing a specially crafted script, during the installation or update of such extension. This affects PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23.Show less
2Opensuse
Postgresql
2Leap
Postgresql
Jun 17, 2026
Aug 24, 2020
N/A· v4
7.1 HIGH· v3
4.6 MEDIUM· v2
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. An authenticated attacker could use this flaw in an attack similar to...Show more
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. An authenticated attacker could use this flaw in an attack similar to CVE-2018-1058, in order to execute arbitrary SQL command in the context of the user used for replication.Show less
5Debian
FedoraprojectNetapp+2 more
5Debian Linux
FedoraPostgresql Jdbc Driver+2 more
Jun 17, 2026
Jun 4, 2020
N/A· v4
7.7 HIGH· v3
6.8 MEDIUM· v2
PostgreSQL JDBC Driver (aka PgJDBC) before 42.2.13 allows XXE.