CVE-2018-10915

A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between connections. If an affected version of libpq was used with "host" or "hostaddr" connection parameters from untrusted input, attackers could bypass client-side connection security features, obtain access to higher privileged connections or potentially cause other impact through SQL injection, by causing the PQescape() functions to malfunction. Postgresql versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 are affected.

Published: 2018-08-09 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-10915 is rated High Risk (69.2/100): CVSS High severity, with high exploitation likelihood (EPSS 5.15%, 91th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +3.26% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize 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-10915

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 2026-06-15 1.89% 5.15% +3.26%
2 2026-06-07 1.75% 1.89% +0.14%
3 2026-03-11 1.75%

Full EPSS history (26 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.5 3.0 HIGH
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H 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:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
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:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
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:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 6.0 [email protected]
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 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:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
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:H)
Could take the service down hard or make it unusable for people who depend on it.
1.6 5.9 [email protected]
6.0 2.0 MEDIUM
AV:N/AC:M/Au:S/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
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:P)
Partial availability impact.
6.8 6.4 [email protected]

Weakness enumeration for CVE-2018-10915

OS Trackers for CVE-2018-10915

vendor priority summary link
alpine high CVE-2018-10915: 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-10915
gentoo high CVE-2018-10915: 1 GLSA(s) (201810-08), 1 atom(s) (dev-db/postgresql); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-10915
redhat high https://access.redhat.com/security/cve/CVE-2018-10915
suse high CVE-2018-10915 severity important: SUSE including 174 source package names (libecpg6-10.10-1.15.1, libecpg6-10.5-1.3.1, …), 371 product×package rows across 45 product lines (SUSE Enterprise Storage 4, SUSE Liberty Linux 7, … (45 product lines)): Fixed 263, Known Not Affected 108. https://www.suse.com/security/cve/CVE-2018-10915/
ubuntu medium CVE-2018-10915 medium priority: Ubuntu including 4 source packages (postgresql-10, postgresql-9.1, postgresql-9.3, postgresql-9.5), 24 status rows across 6 suites (bionic, cosmic, disco, trusty, upstream, xenial): DNE 16, released 6, needs-triage 1, not-affected 1. https://ubuntu.com/security/CVE-2018-10915

Affected software / configurations for CVE-2018-10915

Vendor Product Version Raw CPE
redhat openstack 12 cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:*
redhat openstack 13 cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
redhat virtualization 4.0 cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 7.0 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server 7.0 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.5 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 7.0 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
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 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
postgresql postgresql >= 9.3.0, < 9.3.24 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 9.4.0, < 9.4.19 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
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-10915

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
http://www.securityfocus.com/bid/105054 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:2557 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:2643 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2721 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2729 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3816
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10915 Issue Tracking Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/08/msg00012.html Third Party Advisory
https://security.gentoo.org/glsa/201810-08
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