---
title: "CVE-2016-2193\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2016-2193?format=md
keywords: index, follow
---

# CVE-2016-2193

Publication date 11 April 2016

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2016-2193?format=md#impact-score)

Toggle side navigation

## Description

PostgreSQL before 9.5.x before 9.5.2 does not properly maintain
row-security status in cached plans, which might allow attackers to bypass
intended access restrictions by leveraging a session that performs queries
as more than one role.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2016-2193?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| postgresql-8.4 | 15.10 wily | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not affected |
| postgresql-9.1 | 15.10 wily | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not affected |
| postgresql-9.3 | 15.10 wily | Not in release |
| 14.04 LTS trusty | Not affected |
| 12.04 LTS precise | Not in release |
| postgresql-9.4 | 15.10 wily | Not affected |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| postgresql-9.5 | 15.10 wily | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

RLS was introduced in postgresql 9.5, doesn't affect prior
versions

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | High |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2193)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2016-2193)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2016-2193)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2016-2193)

### Other references

* <http://www.postgresql.org/about/news/1656/>
* <http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=db69e58a0642ef7fa46d62f6c4cf2460c3a1b41b>
* <https://www.cve.org/CVERecord?id=CVE-2016-2193>
