Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-10925

published high CVSS 3.0 · 7.1

postgresql: Missing authorization and memory disclosure in INSERT ... ON CONFLICT DO UPDATE statements

Title from Red Hat VEX

Published
09 Aug 2018, 21:00:00 UTC
Updated
05 Aug 2024, 07:54:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PostgreSQL Global Development Group — postgresql10.5 · 9.6.10 · 9.5.14 · 9.4.19 · 9.3.24 Affected Not stated redhat
Alpine Linux v3.10 postgresql Fixed 10.5-r0 Package fix record
SUSE / openSUSE openSUSE-Leap-15.1 postgresqlnoarch Advisory build 12.0.1-lp151.6.9.1 OPENSUSE-SU-2020:1227-1
Debian stretch postgresql-9.6 Advisory build 9.6.10-0+deb9u1 DSA-4269-1
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresqlsrc Advisory build 9.5.14-1.el6 RHSA-2018:2511
Alpine Linux v3.11 postgresql Fixed 10.5-r0 Package fix record
Alpine Linux v3.12 postgresql Fixed 10.5-r0 Package fix record
Alpine Linux v3.13 postgresql Fixed 10.5-r0 Package fix record
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.14 postgresql Fixed 10.5-r0 Package fix record
Alpine Linux v3.5 postgresql Fixed 9.6.10-r0 Package fix record
Alpine Linux v3.6 postgresql Fixed 9.6.10-r0 Package fix record
Alpine Linux v3.7 postgresql Fixed 10.5-r0 Package fix record
Alpine Linux v3.8 postgresql Fixed 10.5-r0 Package fix record
Alpine Linux v3.9 postgresql Fixed 10.5-r0 Package fix record
Alpine Linux v3.15 postgresql14 Fixed 10.5-r0 Package fix record
Alpine Linux v3.16 postgresql14 Fixed 10.5-r0 Package fix record
Alpine Linux v3.17 postgresql14 Fixed 10.5-r0 Package fix record
Alpine Linux v3.17 postgresql15 Fixed 10.5-r0 Package fix record
Alpine Linux v3.18 postgresql14 Fixed 10.5-r0 Package fix record
Alpine Linux v3.18 postgresql15 Fixed 10.5-r0 Package fix record
Alpine Linux v3.19 postgresql14 Fixed 10.5-r0 Package fix record
Alpine Linux v3.19 postgresql15 Fixed 10.5-r0 Package fix record
Alpine Linux v3.20 postgresql14 Fixed 10.5-r0 Package fix record
Alpine Linux v3.20 postgresql15 Fixed 10.5-r0 Package fix record
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresqlx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-contribx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-debuginfox86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-develx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-docsx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-libsx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-plperlx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-plpythonx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-pltclx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-serverx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-staticx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-testx86_64 Advisory build 9.5.14-1.el6 RHSA-2018:2511
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresqlsrc Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresqlx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-contribx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-contrib-syspathsx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-debuginfox86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-develx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-docsx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-libsx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-plperlx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-plpythonx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-pltclx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-serverx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-server-syspathsx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-staticx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-syspathsx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-testx86_64 Advisory build 9.6.10-1.el6 RHSA-2018:2566
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresqlaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresqlppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresqls390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresqlsrc Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresqlx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contribaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contribppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contribs390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contribx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contrib-syspathsaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contrib-syspathsppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contrib-syspathss390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-contrib-syspathsx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-debuginfoaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-debuginfoppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-debuginfos390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-debuginfox86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-develaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-develppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-devels390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-develx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-docsaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-docsppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-docss390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-docsx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-libsaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-libsppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-libss390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-libsx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plperlaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plperlppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plperls390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plperlx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plpythonaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plpythonppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plpythons390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-plpythonx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-pltclaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-pltclppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-pltcls390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-pltclx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-serveraarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-serverppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-servers390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-serverx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-server-syspathsaarch64 Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-server-syspathsppc64le Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-server-syspathss390x Advisory build 10.5-1.el7 RHSA-2018:2565
Red Hat Enterprise Linux RHEL-7 rh-postgresql10-postgresql-server-syspathsx86_64 Advisory build 10.5-1.el7 RHSA-2018:2565

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

36

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
7.1 / 10
Severity
high
Provider
redhat · cna
Vector string
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PostgreSQL Global Development Group postgresql 10.5 (affected)9.6.10 (affected)9.5.14 (affected)9.4.19 (affected)9.3.24 (affected) redhat · cna

Weaknesses

1
  • CWE-863 (redhat · cna)

References

12
  • openSUSE-SU-2020:1227 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html vendor-advisory, x_refsource_SUSE, x_transferred Contributors: redhat (cna), CVE (adp)
  • 105052 http://www.securityfocus.com/bid/105052 vdb-entry, x_refsource_BID, x_transferred Contributors: redhat (cna), CVE (adp)
  • 1041446 http://www.securitytracker.com/id/1041446 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2511 https://access.redhat.com/errata/RHSA-2018:2511 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2565 https://access.redhat.com/errata/RHSA-2018:2565 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2566 https://access.redhat.com/errata/RHSA-2018:2566 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:3816 https://access.redhat.com/errata/RHSA-2018:3816 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10925 x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)
  • GLSA-201810-08 https://security.gentoo.org/glsa/201810-08 vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: redhat (cna), CVE (adp)
  • USN-3744-1 https://usn.ubuntu.com/3744-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: redhat (cna), CVE (adp)
  • DSA-4269 https://www.debian.org/security/2018/dsa-4269 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://www.postgresql.org/about/news/1878/ x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
ab4aa809262f2eba42c619a4af3ff4943c3b471f8640c785a125addfae449041
Ingested
23 Sep 2026, 07:43:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected