7.1
CWE
94
Advisory Published
CVE Published
Updated

CVE-2016-5424: Code Injection

First published: Thu Aug 04 2016(Updated: )

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 CREATEROLE role to gain superuser privileges via a (1) " (double quote), (2) \ (backslash), (3) carriage return, or (4) newline character in a (a) database or (b) role name that is mishandled during an administrative operation.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/postgresql<9.5.4
9.5.4
redhat/postgresql<9.4.9
9.4.9
redhat/postgresql<9.3.14
9.3.14
redhat/postgresql<9.2.18
9.2.18
redhat/postgresql<9.1.23
9.1.23
Debian=8.0
PostgreSQL<=9.1.22
PostgreSQL=9.2
PostgreSQL=9.2.1
PostgreSQL=9.2.2
PostgreSQL=9.2.3
PostgreSQL=9.2.4
PostgreSQL=9.2.5
PostgreSQL=9.2.6
PostgreSQL=9.2.7
PostgreSQL=9.2.8
PostgreSQL=9.2.9
PostgreSQL=9.2.10
PostgreSQL=9.2.11
PostgreSQL=9.2.12
PostgreSQL=9.2.13
PostgreSQL=9.2.14
PostgreSQL=9.2.15
PostgreSQL=9.2.16
PostgreSQL=9.2.17
PostgreSQL=9.3
PostgreSQL=9.3.1
PostgreSQL=9.3.2
PostgreSQL=9.3.3
PostgreSQL=9.3.4
PostgreSQL=9.3.5
PostgreSQL=9.3.6
PostgreSQL=9.3.7
PostgreSQL=9.3.8
PostgreSQL=9.3.9
PostgreSQL=9.3.10
PostgreSQL=9.3.11
PostgreSQL=9.3.12
PostgreSQL=9.3.13
PostgreSQL=9.4
PostgreSQL=9.4.1
PostgreSQL=9.4.2
PostgreSQL=9.4.3
PostgreSQL=9.4.4
PostgreSQL=9.4.5
PostgreSQL=9.4.6
PostgreSQL=9.4.7
PostgreSQL=9.4.8
PostgreSQL=9.5
PostgreSQL=9.5.1
PostgreSQL=9.5.2
PostgreSQL=9.5.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2016-5424?

    CVE-2016-5424 is classified as a high severity vulnerability due to the potential for remote authenticated users to gain superuser privileges.

  • How do I fix CVE-2016-5424?

    To fix CVE-2016-5424, you should upgrade to PostgreSQL version 9.5.4, 9.4.9, 9.3.14, 9.2.18, or 9.1.23 as these versions contain the necessary patches.

  • Who is affected by CVE-2016-5424?

    CVE-2016-5424 affects PostgreSQL versions prior to 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.

  • What types of roles can exploit CVE-2016-5424?

    Remote authenticated users with the CREATEDB or CREATEROLE role can exploit CVE-2016-5424 to escalate their privileges to superuser.

  • What kind of privileges can be gained from CVE-2016-5424?

    CVE-2016-5424 may allow unauthorized escalation to superuser privileges, enabling full access to the database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203