Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-5423

postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference

Overview

Published
9 Dec 2016
Modified
17 Jun 2026
High CVE
0 Registry packages
76 OS packages
3 Linux distributions
Yes Fix available

Description

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 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.

Source: OX vulnerability database

Severity

8.3 · HIGH

CVSS 3.0 base score, scored by NVD.

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

Weakness: CWE-476

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 8 fixes

Oracle Linux 1 release · 1 package

fixed 1
postgresql
Oracle Linux fixes for CVE-2016-5423
ReleasePackageFixed in
7 postgresql +10 9.2.18-1.el7

Red Hat 1 release · 4 packages

fixed 4
postgresql92-postgresql postgresql rh-postgresql94-postgresql rh-postgresql95-postgresql
Red Hat fixes for CVE-2016-5423
ReleasePackageFixed inAdvisory
7 postgresql92-postgresql +10 0:9.2.18-1.el7 RHSA-2016:1820
7 postgresql +10 0:9.2.18-1.el7 RHSA-2016:2606
7 rh-postgresql94-postgresql +11 0:9.4.9-1.el7 RHSA-2016:1781
7 rh-postgresql95-postgresql +10 0:9.5.4-1.el7 RHSA-2016:1821

openSUSE 1 release · 3 packages

fixed 3
postgresql93 postgresql94 libecpg6
openSUSE fixes for CVE-2016-5423
ReleasePackageFixed inAdvisory
Tumbleweed postgresql93 +8 9.3.15-1.1 openSUSE-SU-2024:10256-1
Tumbleweed postgresql94 +8 9.4.10-1.1 openSUSE-SU-2024:10030-1
Tumbleweed libecpg6 +12 9.5.4-1.2 openSUSE-SU-2024:10273-1

References

Show all 22 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.