CVE-2016-5423
postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
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 server handled certain SQL statements containing CASE/WHEN commands. A remote, authenticated attacker could use a specially crafted SQL statement to cause PostgreSQL to crash or disclose a few bytes of server memory or possibly execute arbitrary code.
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 · 8.5CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS 2.0 · 6.5AV:N/AC:L/Au:S/C:P/I:P/A:P
CWE-822 · Untrusted Pointer Dereference