VDB

CVE-2018-10925

CVE-2018-10925 PUBLISHED CVSS 7.1 HIGH

Reported by redhat · Published August 9, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresqlAlpine10.5-r0, 9.6.10-r0
postgresql15Alpine10.5-r0
postgresql14Alpine10.5-r0
postgresqlpostgresql10.5, 9.6.10, 9.5.14
postgresql-9.5Ubuntu:16.04:LTS9.5.14-0ubuntu0.16.04
postgresql-10Ubuntu:18.04:LTS10.5-0ubuntu0.18.04

Risk scores

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

Affected products

VendorProductVersions
PostgreSQL Global Development Grouppostgresql10.5, 9.6.10, 9.5.14
alpinepostgresql0, 0
alpinepostgresql150
alpinepostgresql140
PostgreSQL Global Development Grouppostgresql9.4.19, 9.6.10, 10.5

Timeline

  • Aug 9, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (9 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (12 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-10925
vulnetix vdb fixes CVE-2018-10925

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10925/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›