CVE-2018-10925: High severity Canonical Ubuntu Linux vulnerability

Published Aug 6, 2018
·
Updated

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.

Other sources

PostgreSQL before versions 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 do not properly authorize certain statements. A attacker able to issue CREATE TABLE can read arbitrary bytes of server memory using INSERT ... ON CONFLICT DO UPDATE. By default, any user can exploit that. If such an attacker also has certain INSERT privileges and has UPDATE privilege on at least one column of a given table, a data integrity attack is possible. The attacker can update other columns, for which the attacker lacks UPDATE privilege.

Red Hat

Affected Software

12 affected componentsFixes available
debian/postgresql-10
debian/postgresql-9.1
redhat/postgresql<10.5
10.5
redhat/postgresql<9.6.10
9.6.10
redhat/postgresql<9.5.14
9.5.14
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Debian Debian Linux=9.0
PostgreSQL postgresql>=9.5.0<9.5.14
PostgreSQL postgresql>=9.6.0<9.6.10
PostgreSQL postgresql>=10.0<10.5

Event History

Aug 9, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:46 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·04:00 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2018-10925?

CVE-2018-10925 is a vulnerability in PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 that failed to properly check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE".

2

How does CVE-2018-10925 affect PostgreSQL?

CVE-2018-10925 allows an attacker with "CREATE TABLE" privileges to read arbitrary bytes from the server memory.

3

What is the severity of CVE-2018-10925?

The severity of CVE-2018-10925 is high, with a severity value of 8.1.

4

Which versions of PostgreSQL are affected by CVE-2018-10925?

PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 are affected by CVE-2018-10925.

5

How can I fix CVE-2018-10925 in PostgreSQL?

To fix CVE-2018-10925, upgrade to PostgreSQL version 10.5, 9.6.10, 9.5.14, 9.4.19, or 9.3.24.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203