CVE-2018-10915
HIGH 7.5CVSS 3.0A 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
- 9 Aug 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-89
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | HIGH 8.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:* |
= 12 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* |
= 13 | |
| NVD | redhat | virtualizationcpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 9.3.0, < 9.3.24 | 9.3.24 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 9.4.0, < 9.4.19 | 9.4.19 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 9.5.0, < 9.5.14 | 9.5.14 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 9.6.0, < 9.6.10 | 9.6.10 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 10.0, < 10.5 | 10.5 |
References
- 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
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 9 Aug 2018)