---
title: "CVE-2018-10925\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-2018-10925?format=md
keywords: index, follow
---

# CVE-2018-10925

Publication date 9 August 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**8.1 · High**

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

Toggle side navigation

## Description

It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14,
9.4.19, and 9.3.24 failed to properly check authorization on certain
statements involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker
with "CREATE TABLE" privileges could exploit this to read arbitrary bytes
server memory. If the attacker also had certain "INSERT" and limited
"UPDATE" privileges to a particular table, they could exploit this to
update other columns in the same table.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| postgresql-10 | 18.04 LTS bionic | Fixed 10.5-0ubuntu0.18.04 |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| postgresql-9.1 | 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| postgresql-9.3 | 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not affected |
| postgresql-9.5 | 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Fixed 9.5.14-0ubuntu0.16.04 |
| 14.04 LTS trusty | 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

---

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

Only affects PostgreSQL 9.5 onwards

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.1 · High

* Base metrics

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

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

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3744-1](https://usn.ubuntu.com/USN-3744-1)
+ PostgreSQL vulnerabilities
+ 16 August 2018

### Other references

* <https://www.postgresql.org/about/news/1878/>
* <https://www.cve.org/CVERecord?id=CVE-2018-10925>
