postgresql: Certain host connection parameters defeat client-side security defenses
Published Aug 9, 2018
8.5
HIGHCVSS 3.0
EPSS 5.15%
Description
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.
Affected products
-
- Version 10.5StatusaffectedConstraints-
- Version 9.3.24StatusaffectedConstraints-
- Version 9.4.19StatusaffectedConstraints-
- Version 9.5.14StatusaffectedConstraints-
- Version 9.6.10StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PostgreSQL Global Development Group | PostgreSQL | n/a |
|
Configuration 1
- 12
- 13
- 4.0
- 7.0
- 7.0
- 7.5
- 7.0
Configuration 2
- 14.04
- 16.04
- 18.04
Configuration 3
- 8.0
- 9.0
Configuration 4
- ≥ 9.3.0 · < 9.3.24
- ≥ 9.4.0 · < 9.4.19
- ≥ 9.5.0 · < 9.5.14
- ≥ 9.6.0 · < 9.6.10
- ≥ 10.0 · < 10.5
No data.
CloudForms Management Engine 5.9
cfme-0:5.9.6.5-3.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
cfme-amazon-smartstate-0:5.9.6.5-2.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
cfme-appliance-0:5.9.6.5-1.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
cfme-gemset-0:5.9.6.5-2.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
dbus-api-service-0:1.0.1-3.1.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
httpd-configmap-generator-0:0.2.2-1.2.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
postgresql96-0:9.6.10-1PGDG.el7at
Fixed · RHSA-2018:3816
Red Hat Enterprise Linux 7
postgresql-0:9.2.24-1.el7_5
Fixed · RHSA-2018:2557
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql95-postgresql-0:9.5.14-1.el6
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql96-postgresql-0:9.6.10-1.el6
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el6
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el6
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
rhvm-appliance-0:4.2-20180828.0.el7
Fixed · RHSA-2018:2643
CloudForms Management Engine 5
postgresql94
Affected
Red Hat Ansible Tower 3
postgresql96
Affected
Red Hat Enterprise Linux 5
postgresql
Not affected
Red Hat Enterprise Linux 5
postgresql84
Not affected
Red Hat Enterprise Linux 6
postgresql
Not affected
Red Hat Enterprise Linux 8
libpq
Not affected
Red Hat Enterprise Linux 8
postgresql
Not affected
Red Hat Mobile Application Platform 4
millicore
Not affected
Red Hat Satellite 5
rh-postgresql95-postgresql
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms Management Engine 5.9 | cfme-0:5.9.6.5-3.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | cfme-amazon-smartstate-0:5.9.6.5-2.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | cfme-appliance-0:5.9.6.5-1.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | cfme-gemset-0:5.9.6.5-2.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | dbus-api-service-0:1.0.1-3.1.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | httpd-configmap-generator-0:0.2.2-1.2.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | postgresql96-0:9.6.10-1PGDG.el7at | Fixed | RHSA-2018:3816 |
| Red Hat Enterprise Linux 7 | postgresql-0:9.2.24-1.el7_5 | Fixed | RHSA-2018:2557 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql95-postgresql-0:9.5.14-1.el6 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql96-postgresql-0:9.6.10-1.el6 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el6 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el6 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | rhvm-appliance-0:4.2-20180828.0.el7 | Fixed | RHSA-2018:2643 |
| CloudForms Management Engine 5 | postgresql94 | Affected | n/a |
| Red Hat Ansible Tower 3 | postgresql96 | Affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql84 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libpq | Not affected | n/a |
| Red Hat Enterprise Linux 8 | postgresql | Not affected | n/a |
| Red Hat Mobile Application Platform 4 | millicore | Not affected | n/a |
| Red Hat Satellite 5 | rh-postgresql95-postgresql | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability is only exploitable where an attacker can provide or influence connection parameters to a PostgreSQL client application using libpq. Contrib modules "dblink" and "postgres_fdw" are examples of applications affected by this flaw. Red Hat Virtualization includes vulnerable versions of postgresql. However this flaw is not known to be exploitable under any supported configuration of Red Hat Virtualization. A future update may address this issue. This issue affects the versions of the rh-postgresql95-postgresql package as shipped with Red Hat Satellite 5.7 and 5.8. However, this flaw is not known to be exploitable under any supported scenario in Satellite 5. A future update may address this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
AV:N/AC:M/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 5.15% (0.05154) | 92.17th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.15% (0.05154) | 91.32th | v5 (v2026.06.15) |
| Nov 21, 2025 | 1.85% (0.01845) | 82.43th | v4 (v2025.03.14) |
| Nov 18, 2025 | 3.17% (0.03171) | 85.70th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.02% (0.02017) | 82.13th | v4 (v2025.03.14) |
| Mar 29, 2025 | 13.81% (0.13807) | 90.48th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.94% (0.02941) | 85.52th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.26% (0.00261) | 66.36th | v3 (v2023.03.01) |
| Mar 4, 2024 | 0.26% (0.00261) | 65.07th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.33% (0.00333) | 70.36th | v3 (v2023.03.01) |
| Dec 31, 2023 | 0.33% (0.00333) | 68.12th | v3 (v2023.03.01) |
| Aug 3, 2023 | 0.46% (0.00460) | 72.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.49% (0.00486) | 72.27th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.68% (0.03679) | 72.20th | v1 |
| Jan 6, 2022 | 3.68% (0.03679) | 71.95th | v1 |
| Sep 1, 2021 | 3.68% (0.03679) | 82.80th | v1 |
| Apr 14, 2021 | 3.68% (0.03679) | 0.00th | v1 |
References (21)
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html vendor-advisoryx_refsource_SUSE
- http://www.securityfocus.com/bid/105054 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041446 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2511 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2557 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2565 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2566 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2643 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2721 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2729 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3816 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-10915 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1609891 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10915 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/08/msg00012.html mailing-listx_refsource_MLISTThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-10915
- https://security.gentoo.org/glsa/201810-08 vendor-advisoryx_refsource_GENTOO
- https://usn.ubuntu.com/3744-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-10915
- https://www.debian.org/security/2018/dsa-4269 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.postgresql.org/about/news/1878/ x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.