Home / PostgreSQL Global Development Group / postgresql / CVE-2018-10915
CVE-2018-10915: is it exploited, and which versions of PostgreSQL Global Development Group postgresql are affected and fixed?
CVE-2018-10915 is an improper initialization vulnerability in PostgreSQL Global Development Group postgresql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: postgresql 10.5, postgresql 9.6.10, postgresql 9.5.14 and 2 more (CVE record by redhat). Fixed in 9.3.24, 9.4.19, 9.5.14, 9.6.10 and 1 more (NVD). Severity: High (8.5, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:30 UTC.
What is 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.
From the CVE record by redhat, last updated August 5, 2024, 07:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| PostgreSQL Global Development Group | postgresql | 10.5 9.6.10 9.5.14 9.4.19 9.3.24 |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | openstack | 12 | application |
| redhat | openstack | 13 | application |
| redhat | virtualization | 4.0 | application |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux server eus | 7.5 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| postgresql | postgresql | from 9.3.0 before 9.3.24 | application |
| postgresql | postgresql | from 9.4.0 before 9.4.19 | application |
| postgresql | postgresql | from 9.5.0 before 9.5.14 | application |
| postgresql | postgresql | from 9.6.0 before 9.6.10 | application |
| postgresql | postgresql | from 10.0 before 10.5 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:34 UTC.
How severe is CVE-2018-10915?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | redhat |
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.0 | CVSS 2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-10915 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.07% probability of exploitation activity in the next 30 days, percentile 92.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-665 Improper Initialization
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- GLSA-201810-08 vendor-advisory, x_refsource_GENTOO
- RHSA-2018:2729 vendor-advisory, x_refsource_REDHAT
- DSA-4269 vendor-advisory, x_refsource_DEBIAN
- RHSA-2018:2643 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2721 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2511 vendor-advisory, x_refsource_REDHAT
- USN-3744-1 vendor-advisory, x_refsource_UBUNTU
- [debian-lts-announce] 20180815 [SECURITY] [DLA 1464-1] postgresql-9.4 security update mailing-list, x_refsource_MLIST
- RHSA-2018:2566 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2565 vendor-advisory, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10915 x_refsource_CONFIRM
- RHSA-2018:3816 vendor-advisory, x_refsource_REDHAT
- 105054 vdb-entry, x_refsource_BID
- https://www.postgresql.org/about/news/1878/ x_refsource_CONFIRM
- RHSA-2018:2557 vendor-advisory, x_refsource_REDHAT
- 1041446 vdb-entry, x_refsource_SECTRACK
- openSUSE-SU-2020:1227 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- May 9, 2018
- Published
- August 9, 2018, 20:00 UTC
- CVE record updated
- August 5, 2024, 07:54 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:34 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:30 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect postgresql?
- Jan 27, 2020CVE-2015-0241 PostgreSQL Global Development Group PostgreSQL: buffer overflow
- Jan 27, 2020CVE-2015-0242 PostgreSQL Global Development Group PostgreSQL: out-of-bounds write (memory corruption)
- Jan 27, 2020CVE-2015-0243 PostgreSQL Global Development Group PostgreSQL: buffer overflow
- Jan 27, 2020CVE-2015-0244 PostgreSQL Global Development Group PostgreSQL: SQL injection
- Jan 27, 2020CVE-2014-8161 PostgreSQL Global Development Group PostgreSQL: information disclosure in error messages
- Nov 20, 2019CVE-2015-3166 PostgreSQL Global Development Group PostgreSQL: memory corruption (buffer overflow)
- Nov 20, 2019CVE-2015-3167 PostgreSQL Global Development Group PostgreSQL: information disclosure
- Aug 9, 2018CVE-2018-10925 PostgreSQL Global Development Group postgresql: incorrect authorization
Questions about CVE-2018-10915
Is CVE-2018-10915 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 5.07% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of PostgreSQL Global Development Group postgresql are affected by CVE-2018-10915?
postgresql 10.5, postgresql 9.6.10, postgresql 9.5.14, postgresql 9.4.19 and postgresql 9.3.24, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2018-10915?
9.3.24, 9.4.19, 9.5.14, 9.6.10 and 10.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-10915?
High (8.5, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-10915?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.