Skip site navigation (1) Skip section navigation (2)

Security Information

If you wish to report a new security vulnerability in PostgreSQL, please send an email to security@postgresql.org. For reporting non-security bugs, please see the Report a Bug page.

The PostgreSQL Global Development Group (PGDG) takes security seriously, allowing our users to place their trust in the web sites and applications built around PostgreSQL. Our approach covers fail-safe configuration options, a secure and robust database server as well as good integration with other security infrastructure software.

PostgreSQL security updates are primarily made available as minor version upgrades. You are always advised to use the latest minor version available, as it will likely also contain other non-security related fixes. All known security issues are always fixed in the next major release, when it comes out.

PGDG believes that accuracy, completeness and availability of security information is essential for our users. We choose to pool all information on this one page, allowing easy searching for vulnerabilities by a range of criteria.

The following table lists all known security issues. Please note that versions prior to 9.0 are no longer supported. An archive of vulnerabilities found only in unsupported versions is on our Security Archive page, but vulnerability information on those versions is no longer updated, nor are vulnerabilities patched.

Vulnerabilities list which major releases they were present in, and which version they are fixed in for each. If the vulnerability was exploitable without a valid login, this is also stated. They also list a vulnerability class, but we urge all users to read the description to determine if the bug affects specific installations or not.

Reference Affected
versions
Fixed in Component Class Description
CVE-2015-3165 9.4, 9.3, 9.2, 9.1, 9.0 9.4.2, 9.3.7, 9.2.11, 9.1.16, 9.0.20 core server B Double "free" after authentication timeout
CVE-2015-3166 9.4, 9.3, 9.2, 9.1, 9.0 9.4.2, 9.3.7, 9.2.11, 9.1.16, 9.0.20 core server, client D Unanticipated errors from the standard library.
CVE-2015-3167 9.4, 9.3, 9.2, 9.1, 9.0 9.4.2, 9.3.7, 9.2.11, 9.1.16, 9.0.20 contrib module C pgcrypto has multiple error messages for decryption with an incorrect key.
CVE-2015-0241 9.4, 9.3, 9.2, 9.1, 9.0 9.4.1, 9.3.6, 9.2.10, 9.1.15, 9.0.19 core server C Buffer overruns in "to_char" functions.
CVE-2015-0242 9.4, 9.3, 9.2, 9.1, 9.0 9.4.1, 9.3.6, 9.2.10, 9.1.15, 9.0.19 core server C Buffer overrun in replacement printf family of functions.
CVE-2015-0243 9.4, 9.3, 9.2, 9.1, 9.0 9.4.1, 9.3.6, 9.2.10, 9.1.15, 9.0.19 contrib module C Memory errors in functions in the pgcrypto extension.
CVE-2015-0244 9.4, 9.3, 9.2, 9.1, 9.0 9.4.1, 9.3.6, 9.2.10, 9.1.15, 9.0.19 core server C An error in extended protocol message reading.
CVE-2014-8161 9.4, 9.3, 9.2, 9.1, 9.0 9.4.1, 9.3.6, 9.2.10, 9.1.15, 9.0.19 core server C Constraint violation errors can cause display of values in columns which the user would not normally have rights to see.
CVE-2014-0067 9.4, 9.3, 9.2, 9.1, 9.0 9.4.1, 9.3.6, 9.2.10, 9.1.15, 9.0.19 other N/A Unauthenticated users may gain access to the database server during "make check". Details.
CVE-2014-0060 9.3, 9.2, 9.1, 9.0, 8.4 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20 core server C SET ROLE bypasses lack of ADMIN OPTION. Details
CVE-2014-0061 9.3, 9.2, 9.1, 9.0, 8.4 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20 core server C Privilege escalation via calls to validator functions. Details
CVE-2014-0062 9.3, 9.2, 9.1, 9.0, 8.4 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20 core server C Race condition in CREATE INDEX allows for privilege escalation. Details
CVE-2014-0063 9.3, 9.2, 9.1, 9.0, 8.4 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20 core server, ECPG C Potential buffer overruns in datetime input/output. Details
CVE-2014-0064 9.3, 9.2, 9.1, 9.0, 8.4 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20 core server, contrib C Potential buffer overruns due to integer overflow in size calculations. Details
CVE-2014-0065 9.3, 9.2, 9.1, 9.0, 8.4 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20 core server C Potential buffer overruns of fixed-size buffers. Details
CVE-2014-0066 9.3, 9.2, 9.1, 9.0, 8.4 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20 contrib module D Potential null pointer dereference crash when crypt(3) returns NULL. Details
CVE-2013-1899 9.2, 9.1, 9.0 9.2.4, 9.1.9, 9.0.13 core server A A connection request containing a database name that begins with "-" may be crafted to damage or destroy files within a server's data directory
CVE-2013-1900 9.2, 9.1, 9.0, 8.4 9.2.4, 9.1.9, 9.0.13, 8.4.17 contrib module C Random numbers generated by contrib/pgcrypto functions may be easy for another database user to guess
CVE-2013-1901 9.2, 9.1 9.2.4, 9.1.9 core server D An unprivileged user can run commands that could interfere with in-progress backups.
CVE-2013-1902 9.2, 9.1, 9.0, 8.4, 8.3 9.2.4-1, 9.1.9-1, 9.0.13-1, 8.4.17-1, 8.3.23-3 packaging C EnterpriseDB's installers for Linux and Mac OS X created a directory and file in /tmp with predictable names.
CVE-2013-1903 9.2, 9.1, 9.0, 8.4, 8.3 9.2.4-1, 9.1.9-1, 9.0.13-1, 8.4.17-1, 8.3.23-3 packaging C EnterpriseDB's installers for Linux and Mac OS X passed the database superuser password to a script in an insecure fashion.
CVE-2013-0255 9.2, 9.1, 9.0, 8.4, 8.3 9.2.3, 9.1.8, 9.0.12, 8.4.16, 8.3.23 core server D executing enum_recv() with wrong parameters crashes server
CVE-2012-3489 9.1, 9.0, 8.4, 8.3 9.1.5, 9.0.9, 8.4.13, 8.3.20 core server C xml_parse() DTD validation can be used to read arbitrary files
CVE-2012-3488 9.1, 9.0, 8.4, 8.3 9.1.5, 9.0.9, 8.4.13, 8.3.20 contrib module C contrib/xml2's xslt_process() can be used to read and write arbitrary files
CVE-2012-2143 9.1, 9.0, 8.4, 8.3 9.1.4, 9.0.8, 8.4.12, 8.3.19 contrib module C Passwords containing the byte 0x80 passed to the crypt() function in pgcrypto are incorrectly truncated if DES encryption was used
CVE-2012-2655 9.1, 9.0, 8.4, 8.3 9.1.4, 9.0.8, 8.4.12, 8.3.19 core server D SECURITY DEFINER and SET attributes on procedural call handlers are not ignored and can be used to crash the server
CVE-2012-0866 9.1, 9.0, 8.4, 8.3 9.1.3, 9.0.7, 8.4.11, 8.3.18 core server C Permissions on a function called by a trigger are not properly checked.
CVE-2012-0867 9.1, 9.0, 8.4 9.1.3, 9.0.7, 8.4.11 core server, limited deployments A SSL certificate name checks are truncated to 32 characters, allowing connection spoofing under some circumstances when using third party certificate authorities.
CVE-2012-0868 9.1, 9.0, 8.4, 8.3 9.1.3, 9.0.7, 8.4.11, 8.3.18 core server C Line breaks in object names can be exploited to execute arbitrary SQL when reloading a pg_dump file.
CVE-2010-4015 9.0, 8.4, 8.3, 8.2 9.0.3, 8.4.7, 8.3.14, 8.2.20 contrib module C An authenticated database user can cause a buffer overrun by calling functions from the intarray optional module with certain parameters.
CVE-2010-3433 9.0, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4 9.0.1, 8.4.5, 8.3.12, 8.2.18, 8.1.22, 8.0.26, 7.4.30 core server C An authenticated database user can manipulate modules and tied variables in some external procedural languages to execute code with enhanced privileges.Details

Vulnerability Classes

The following vulnerability class references are used in the above table:

Class Description
A A vulnerability that is exploitable for privilege escalation without requiring a prior login.
B A vulnerability that is exploitable for denial-of-service without requiring a prior login.
C A vulnerabilty that is exploitable for privilege escalation, but requiring a valid prior login.
D A vulnerability that is exploitable for denial-of-service, but requiring a valid prior login.

Components

The following component references are used in the above table:

Component Description
core server This vulnerability exists in the core server product.
client This vulnerability exists in a client library or client application only.
contrib module This vulnerability exists in a contrib modules. Contrib modules are not installed by default when PostgreSQL is installed from source. They may be installed by binary packages.
client contrib module This vulnerability exists in a contrib module used on the client only.
packaging This vulnerability exists in PostgreSQL binary packaging, e.g. an installer or RPM.

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group