CVE-2016-5423
publishedpostgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | jessie | postgresql-9.4 | Advisory build | 9.4.9-0+deb8u1 | DSA-3646-1 |
| Oracle Linux | 7 | postgresqlx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresqlsrc | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Debian | wheezy | postgresql-9.1 | Advisory build | 9.1.23-0+deb7u1 | DLA-592-1 |
| Oracle Linux | 7 | postgresql-contribx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-develx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-docsx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | postgresql-libsx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-plperlx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-plpythonx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-pltclx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-serverx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-testx86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Oracle Linux | 7 | postgresql-upgradex86_64 | Advisory build | 0:9.2.18-1.el7 | ELSA-2016-2606 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresqlx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-contribx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-debuginfox86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-develx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-docsx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-libsx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-plperlx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-plpythonx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-pltclx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-serverx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-testx86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | postgresql92-postgresql-upgradex86_64 | Advisory build | 9.2.18-1.el6 | RHSA-2016:1820 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresqlsrc | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresqlx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-contribx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-debuginfox86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-develx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-docsx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-libsx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-plperlx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-plpythonx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-pltclx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-serverx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-staticx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-testx86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-upgradex86_64 | Advisory build | 9.4.9-1.el6 | RHSA-2016:1781 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlsrc | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-contribx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-debuginfox86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-develx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-docsx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-libsx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plperlx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plpythonx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-pltclx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-serverx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-staticx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-testx86_64 | Advisory build | 9.5.4-1.el6 | RHSA-2016:1821 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlaarch64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqli686 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64le | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390x | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlsrc | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlx86_64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribaarch64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribppc64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribppc64le | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribs390x | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribx86_64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoaarch64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoi686 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc64le | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfos390 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfos390x | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfox86_64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develaarch64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develi686 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develppc | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develppc64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develppc64le | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-devels390 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-devels390x | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develx86_64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-docsaarch64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-docsppc64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-docsppc64le | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-docss390x | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-docsx86_64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libsaarch64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libsi686 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libsppc | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libsppc64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libsppc64le | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libss390 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libss390x | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-libsx86_64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-plperlaarch64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-plperlppc64 | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-plperlppc64le | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-plperls390x | Advisory build | 9.2.18-1.el7 | RHSA-2016:2606 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
16- RHSA-2016:1781 http://rhn.redhat.com/errata/RHSA-2016-1781.html
- RHSA-2016:1820 http://rhn.redhat.com/errata/RHSA-2016-1820.html
- RHSA-2016:1821 http://rhn.redhat.com/errata/RHSA-2016-1821.html
- RHSA-2016:2606 http://rhn.redhat.com/errata/RHSA-2016-2606.html
- DSA-3646 http://www.debian.org/security/2016/dsa-3646
- 92433 http://www.securityfocus.com/bid/92433
- 1036617 http://www.securitytracker.com/id/1036617
- RHSA-2017:2425 https://access.redhat.com/errata/RHSA-2017:2425
- https://bugzilla.redhat.com/show_bug.cgi?id=1364001
- GLSA-201701-33 https://security.gentoo.org/glsa/201701-33
- https://www.postgresql.org/about/news/1688/
- https://www.postgresql.org/docs/current/static/release-9-1-23.html
- https://www.postgresql.org/docs/current/static/release-9-2-18.html
- https://www.postgresql.org/docs/current/static/release-9-3-14.html
- https://www.postgresql.org/docs/current/static/release-9-4-9.html
- https://www.postgresql.org/docs/current/static/release-9-5-4.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 17371caeba1c1ecc4923f602b2782f3870754e653fb4d25689defc77041bbc46
- Ingested
- 23 Sep 2026, 07:41:23 UTC
- Source record
- Official CVE record