CVE-2016-5423

Summary

CVECVE-2016-5423
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-12-09 23:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionPostgreSQL 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 allow remote authenticated users to cause a denial of service (NULL pointer dereference and server crash), obtain sensitive memory information, or possibly execute arbitrary code via (1) a CASE expression within the test value subexpression of another CASE or (2) inlining of an SQL function that implements the equality operator used for a CASE expression involving values of different types.

Risk And Classification

Primary CVSS: v3.0 8.3 HIGH from [email protected]

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

EPSS: 0.034000000 probability, percentile 0.874950000 (date 2026-05-10)

Problem Types: CWE-476 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary8.3HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
2.0[email protected]Primary6.5AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:S/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Application Postgresql Postgresql 9.2 All All All
Application Postgresql Postgresql 9.2.1 All All All
Application Postgresql Postgresql 9.2.10 All All All
Application Postgresql Postgresql 9.2.11 All All All
Application Postgresql Postgresql 9.2.12 All All All
Application Postgresql Postgresql 9.2.13 All All All
Application Postgresql Postgresql 9.2.14 All All All
Application Postgresql Postgresql 9.2.15 All All All
Application Postgresql Postgresql 9.2.16 All All All
Application Postgresql Postgresql 9.2.17 All All All
Application Postgresql Postgresql 9.2.2 All All All
Application Postgresql Postgresql 9.2.3 All All All
Application Postgresql Postgresql 9.2.4 All All All
Application Postgresql Postgresql 9.2.5 All All All
Application Postgresql Postgresql 9.2.6 All All All
Application Postgresql Postgresql 9.2.7 All All All
Application Postgresql Postgresql 9.2.8 All All All
Application Postgresql Postgresql 9.2.9 All All All
Application Postgresql Postgresql 9.3 All All All
Application Postgresql Postgresql 9.3.1 All All All
Application Postgresql Postgresql 9.3.10 All All All
Application Postgresql Postgresql 9.3.11 All All All
Application Postgresql Postgresql 9.3.12 All All All
Application Postgresql Postgresql 9.3.13 All All All
Application Postgresql Postgresql 9.3.2 All All All
Application Postgresql Postgresql 9.3.3 All All All
Application Postgresql Postgresql 9.3.4 All All All
Application Postgresql Postgresql 9.3.5 All All All
Application Postgresql Postgresql 9.3.6 All All All
Application Postgresql Postgresql 9.3.7 All All All
Application Postgresql Postgresql 9.3.8 All All All
Application Postgresql Postgresql 9.3.9 All All All
Application Postgresql Postgresql 9.4 All All All
Application Postgresql Postgresql 9.4.1 All All All
Application Postgresql Postgresql 9.4.2 All All All
Application Postgresql Postgresql 9.4.3 All All All
Application Postgresql Postgresql 9.4.4 All All All
Application Postgresql Postgresql 9.4.5 All All All
Application Postgresql Postgresql 9.4.6 All All All
Application Postgresql Postgresql 9.4.7 All All All
Application Postgresql Postgresql 9.4.8 All All All
Application Postgresql Postgresql 9.5 All All All
Application Postgresql Postgresql 9.5.1 All All All
Application Postgresql Postgresql 9.5.2 All All All
Application Postgresql Postgresql 9.5.3 All All All
Application Postgresql Postgresql All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Bug 1364001 – CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory, VDB Entry
PostgreSQL CVE-2016-5423 NULL Pointer Dereference Remote Code Execution Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
PostgreSQL: Documentation: 9.6: Release 9.3.14 af854a3a-2127-422b-91ae-364da2661108 www.postgresql.org Release Notes, Vendor Advisory
Debian -- Security Information -- DSA-3646-1 postgresql-9.4 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
PostgreSQL: Documentation: 9.6: Release 9.4.9 af854a3a-2127-422b-91ae-364da2661108 www.postgresql.org Release Notes, Vendor Advisory
PostgreSQL: Documentation: 9.6: Release 9.5.4 af854a3a-2127-422b-91ae-364da2661108 www.postgresql.org Release Notes, Vendor Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
PostgreSQL: 2016-08-11 Security Update Release af854a3a-2127-422b-91ae-364da2661108 www.postgresql.org Patch, Vendor Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
PostgreSQL: Documentation: 9.6: Release 9.1.23 af854a3a-2127-422b-91ae-364da2661108 www.postgresql.org Release Notes, Vendor Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
PostgreSQL: Multiple vulnerabilities (GLSA 201701-33) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
PostgreSQL: Documentation: 9.6: Release 9.2.18 af854a3a-2127-422b-91ae-364da2661108 www.postgresql.org Release Notes, Vendor Advisory
PostgreSQL Bugs Let Remote Authenticated Users Deny Service and Gain Elevated Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Third Party Advisory, VDB Entry
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710501 Gentoo Linux PostgreSQL Multiple Vulnerabilities (GLSA 201701-33)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report