# CVE-2016-5423

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2016-12-09 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2016-5423
- Record: https://cvemate.com/vulnerability/CVE-2016-5423 · JSON: https://cvemate.com/vulnerability/CVE-2016-5423/json

## Description

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

## Signals

- CVSS: 8.3 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- EPSS: 5.962%, percentile 93.486%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu postgresql-9.1 (Ubuntu): \< 9.1.23-0ubuntu0.14.04
- ubuntu postgresql-9.3 (Ubuntu): \< 9.3.14-0ubuntu0.14.04
- ubuntu postgresql-9.5 (Ubuntu): \< 9.5.4-0ubuntu0.16.04
- debian debian\_linux: 8.0
- postgresql postgresql: ≤ 9.1.22 \| 9.2 \| 9.2.1 \| 9.2.2 \| 9.2.3 \| 9.2.4 \| 9.2.5 \| 9.2.6 \| 9.2.7 \| 9.2.8 \| 9.2.9 \| 9.2.10 \| 9.2.11 \| 9.2.12 \| 9.2.13 \| 9.2.14 \| 9.2.15 \| 9.2.16 \| 9.2.17 \| 9.3 \| 9.3.1 \| 9.3.2 \| 9.3.3 \| 9.3.4 \| 9.3.5 \| 9.3.6 \| 9.3.7 \| 9.3.8 \| 9.3.9 \| 9.3.10 \| 9.3.11 \| 9.3.12 \| 9.3.13 \| 9.4 \| 9.4.1 \| 9.4.2 \| 9.4.3 \| 9.4.4 \| 9.4.5 \| 9.4.6 \| 9.4.7 \| 9.4.8 \| 9.5 \| 9.5.1 \| 9.5.2 \| 9.5.3

## References

- <http://rhn.redhat.com/errata/RHSA-2016-1781.html>
- <https://www.postgresql.org/docs/current/static/release-9-4-9.html>
- <http://www.securitytracker.com/id/1036617>
- <http://rhn.redhat.com/errata/RHSA-2016-1821.html>
- <http://www.debian.org/security/2016/dsa-3646>
- <http://www.securityfocus.com/bid/92433>
- <https://security.gentoo.org/glsa/201701-33>
- <https://access.redhat.com/errata/RHSA-2017:2425>
- <https://www.postgresql.org/docs/current/static/release-9-5-4.html>
- <https://www.postgresql.org/docs/current/static/release-9-3-14.html>
- <https://www.postgresql.org/about/news/1688/>
- <https://www.postgresql.org/docs/current/static/release-9-2-18.html>
- <http://rhn.redhat.com/errata/RHSA-2016-2606.html>
- <http://rhn.redhat.com/errata/RHSA-2016-1820.html>
- <https://www.postgresql.org/docs/current/static/release-9-1-23.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1364001>
- <https://ubuntu.com/security/CVE-2016-5423>
- <https://ubuntu.com/security/notices/USN-3066-1>
- <https://www.cve.org/CVERecord?id=CVE-2016-5423>

---

Data as of 2026-12-05T03:33:39.935Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
