CVE-2018-10925

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.

Published: 2018-08-09 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-10925 is rated Moderate Risk (53.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.40%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-10925

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-28 0.34% 0.40% +0.07%
2 2025-12-27 0.40% 0.34% -0.07%
3 2025-11-21 0.40%

Full EPSS history (21 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-10925

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 5.2 [email protected]
7.1 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 4.2 [email protected]
5.5 2.0 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.0 4.9 [email protected]

Weakness enumeration for CVE-2018-10925

OS Trackers for CVE-2018-10925

vendor priority summary link
alpine high CVE-2018-10925: 3 source package rows (postgresql, postgresql14, postgresql15); 16 state rows across 11 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, edge-community, edge-main); fixed 16, open 0. https://security.alpinelinux.org/vuln/CVE-2018-10925
gentoo high CVE-2018-10925: 1 GLSA(s) (201810-08), 1 atom(s) (dev-db/postgresql); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-10925
redhat high https://access.redhat.com/security/cve/CVE-2018-10925
suse high CVE-2018-10925 severity important: SUSE including 158 source package names (libecpg6-10.10-1.15.1, libecpg6-10.5-1.3.1, …), 226 product×package rows across 33 product lines (SUSE Enterprise Storage 4, SUSE Linux Enterprise Desktop 12 SP3, … (33 product lines)): Fixed 201, Known Not Affected 25. https://www.suse.com/security/cve/CVE-2018-10925/
ubuntu medium CVE-2018-10925 medium priority: Ubuntu including 4 source packages (postgresql-10, postgresql-9.1, postgresql-9.3, postgresql-9.5), 16 status rows across 4 suites (bionic, trusty, upstream, xenial): DNE 9, released 4, not-affected 3. https://ubuntu.com/security/CVE-2018-10925

Affected software / configurations for CVE-2018-10925

Vendor Product Version Raw CPE
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
postgresql postgresql >= 9.5.0, < 9.5.14 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 9.6.0, < 9.6.10 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 10.0, < 10.5 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

References for CVE-2018-10925

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html Mailing List Third Party Advisory
http://www.securityfocus.com/bid/105052 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1041446 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:2511 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2565 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2566 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3816 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10925 Issue Tracking Patch Third Party Advisory
https://security.gentoo.org/glsa/201810-08 Third Party Advisory
https://usn.ubuntu.com/3744-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4269 Third Party Advisory
https://www.postgresql.org/about/news/1878/ Vendor Advisory
cvelogic Threat Intelligence