CVE-2016-5424
postgresql: privilege escalation via crafted database and role names
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · August 11, 2016
Updated · June 28, 2026
Description
A flaw was found in the way PostgreSQL client programs handled database and role names containing newlines, carriage returns, double quotes, or backslashes. By crafting such an object name, roles with the CREATEDB or CREATEROLE option could escalate their privileges to superuser when a superuser next executes maintenance with a vulnerable client program.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.6CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
CVSS 2.0 · 6AV:N/AC:M/Au:S/C:P/I:P/A:P
CWE-20 · Improper Input Validation