Skip to content
Fencer Intel
high 7.1

CVE-2016-5424 json

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

published 2016-12-09 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6369

cvss
7.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.6%
EPSS 4.6% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • postgresql-9.1 Ubuntu 14.04 LTS 9.1.23-0ubuntu0.14.04
  • postgresql-9.3 Ubuntu 14.04 LTS 9.3.14-0ubuntu0.14.04
  • postgresql-9.5 Ubuntu 16.04 LTS 9.5.4-0ubuntu0.16.04

ubuntu advisories UBUNTU-CVE-2016-5424

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-postgresql95-postgresql network satellite managed db 5.7, network satellite 5.7 9.5.7-2.el6
  • spacewalk-pxt network satellite 5.7 2.3.2-35.el6sat
  • spacewalk-web network satellite managed db 5.7, network satellite 5.7 2.3.2-35.el6sat
  • spacewalk-base network satellite 5.7 2.3.2-35.el6sat
  • spacewalk-html network satellite 5.7 2.3.2-35.el6sat
  • spacewalk-dobby network satellite managed db 5.7, network satellite 5.7 2.3.2-35.el6sat
  • spacewalk-grail network satellite 5.7 2.3.2-35.el6sat
  • spacewalk-utils network satellite 5.7 2.3.2-32.el6sat

red hat advisories RHSA-2017:2425RHSA-2016:2606RHSA-2016:1821RHSA-2016:1781RHSA-2016:1820

  • postgresql94 SLES for SAP 11 SP4, SLES 11 SP4, Manager 2.1 9.4.9-0.19.1
  • postgresql94-libs SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 9.4.9-0.19.1
  • postgresql94 SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 9.4.9-14.1
  • postgresql94-libs SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 9.4.9-14.1
  • postgresql93 SLES for SAP 12, SLES 12-LTSS 9.3.14-19.2

suse advisories SUSE-SU-2016:2418-1SUSE-SU-2016:2415-1SUSE-SU-2016:2414-1

  • postgresql94 openSUSE Tumbleweed 9.4.10-1.1
  • postgresql93 openSUSE Tumbleweed 9.3.15-1.1
  • postgresql95 openSUSE Tumbleweed 9.5.4-1.2

opensuse advisories openSUSE-SU-2024:10030-1openSUSE-SU-2024:10256-1openSUSE-SU-2024:10273-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-5424 updated cvss 7.6

postgresql: privilege escalation via crafted database and role names

  • Red Hat CloudForms Management Engine 5 postgresql, postgresql92-postgresql
    affected: no fix available
  • Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) postgresql 9.2.18-1.el7, postgresql-libs 9.2.18-1.el7 Red Hat Enterprise Linux Client Optional (v. 7) postgresql 9.2.18-1.el7, postgresql-test 9.2.18-1.el7, postgresql-pltcl 9.2.18-1.el7, postgresql-plperl 9.2.18-1.el7, postgresql-server 9.2.18-1.el7, postgresql-contrib 9.2.18-1.el7, +2 more Red Hat Enterprise Linux ComputeNode (v. 7) postgresql 9.2.18-1.el7, postgresql-libs 9.2.18-1.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) postgresql 9.2.18-1.el7, postgresql-test 9.2.18-1.el7, postgresql-pltcl 9.2.18-1.el7, postgresql-plperl 9.2.18-1.el7, postgresql-server 9.2.18-1.el7, postgresql-contrib 9.2.18-1.el7, +2 more Red Hat Enterprise Linux Server (v. 7) postgresql 9.2.18-1.el7, postgresql-libs 9.2.18-1.el7, postgresql-test 9.2.18-1.el7, postgresql-pltcl 9.2.18-1.el7, postgresql-plperl 9.2.18-1.el7, postgresql-server 9.2.18-1.el7, +2 more Red Hat Enterprise Linux Server Optional (v. 7) postgresql-upgrade 9.2.18-1.el7
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) postgresql 9.2.18-1.el7, postgresql-libs 9.2.18-1.el7, postgresql-test 9.2.18-1.el7, postgresql-pltcl 9.2.18-1.el7, postgresql-plperl 9.2.18-1.el7, postgresql-server 9.2.18-1.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) postgresql-upgrade 9.2.18-1.el7
    fixed: vendor fix RHSA-2016:2606
  • Red Hat Satellite 5.7 (RHEL v.6) spacewalk-pxt 2.3.2-35.el6sat, spacewalk-web 2.3.2-35.el6sat, spacewalk-base 2.3.2-35.el6sat, spacewalk-html 2.3.2-35.el6sat, spacewalk-dobby 2.3.2-35.el6sat, spacewalk-grail 2.3.2-35.el6sat, +29 more Red Hat Satellite Managed DB 5.7 (RHEL v.6) spacewalk-web 2.3.2-35.el6sat, spacewalk-dobby 2.3.2-35.el6sat, rh-postgresql95-runtime 2.2-3.el6, rh-postgresql95-postgresql 9.5.7-2.el6, spacewalk-base-minimal 2.3.2-35.el6sat, spacewalk-postgresql-server 9.5-1.el6sat, +5 more
    fixed: vendor fix RHSA-2017:2425
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) postgresql92-postgresql 9.2.18-1.el6, rh-postgresql94-postgresql 9.4.9-1.el6, rh-postgresql95-postgresql 9.5.4-1.el6, postgresql92-postgresql-libs 9.2.18-1.el6, postgresql92-postgresql-test 9.2.18-1.el6, postgresql92-postgresql-pltcl 9.2.18-1.el6, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) postgresql92-postgresql 9.2.18-1.el7, rh-postgresql94-postgresql 9.4.9-1.el7, rh-postgresql95-postgresql 9.5.4-1.el7, postgresql92-postgresql-libs 9.2.18-1.el7, postgresql92-postgresql-test 9.2.18-1.el7, postgresql92-postgresql-pltcl 9.2.18-1.el7, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) postgresql92-postgresql 9.2.18-1.el6, rh-postgresql94-postgresql 9.4.9-1.el6, rh-postgresql95-postgresql 9.5.4-1.el6, postgresql92-postgresql-libs 9.2.18-1.el6, postgresql92-postgresql-test 9.2.18-1.el6, postgresql92-postgresql-pltcl 9.2.18-1.el6, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) postgresql92-postgresql 9.2.18-1.el6, rh-postgresql94-postgresql 9.4.9-1.el6, rh-postgresql95-postgresql 9.5.4-1.el6, postgresql92-postgresql-libs 9.2.18-1.el6, postgresql92-postgresql-test 9.2.18-1.el6, postgresql92-postgresql-pltcl 9.2.18-1.el6, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) postgresql92-postgresql 9.2.18-1.el7, rh-postgresql94-postgresql 9.4.9-1.el7, rh-postgresql95-postgresql 9.5.4-1.el7, postgresql92-postgresql-libs 9.2.18-1.el7, postgresql92-postgresql-test 9.2.18-1.el7, postgresql92-postgresql-pltcl 9.2.18-1.el7, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) postgresql92-postgresql 9.2.18-1.el7, rh-postgresql94-postgresql 9.4.9-1.el7, rh-postgresql95-postgresql 9.5.4-1.el7, postgresql92-postgresql-libs 9.2.18-1.el7, postgresql92-postgresql-test 9.2.18-1.el7, postgresql92-postgresql-pltcl 9.2.18-1.el7, +20 more
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) postgresql92-postgresql 9.2.18-1.el6, rh-postgresql94-postgresql 9.4.9-1.el6, rh-postgresql95-postgresql 9.5.4-1.el6, postgresql92-postgresql-libs 9.2.18-1.el6, postgresql92-postgresql-test 9.2.18-1.el6, postgresql92-postgresql-pltcl 9.2.18-1.el6, +20 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) postgresql92-postgresql 9.2.18-1.el7, rh-postgresql94-postgresql 9.4.9-1.el7, rh-postgresql95-postgresql 9.5.4-1.el7, postgresql92-postgresql-libs 9.2.18-1.el7, postgresql92-postgresql-test 9.2.18-1.el7, postgresql92-postgresql-pltcl 9.2.18-1.el7, +20 more
    fixed: vendor fix RHSA-2016:1820

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.61% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.1 CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:N/AC:H/Au:S/C:P/I:P/A:P

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.