{"id":"CVE-2018-10915","published":"2018-08-09T20:00:00Z","modified":"2024-08-05T07:54:36Z","title":"A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its…","vendor":"PostgreSQL Global Development Group","product":"postgresql","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.05066,"percentile":0.92521,"provenance":"source"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://security.gentoo.org/glsa/201810-08","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2729","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2018/dsa-4269","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2643","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2721","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2511","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3744-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2566","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2565","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10915","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3816","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/105054","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.postgresql.org/about/news/1878/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2557","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1041446","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":18.5},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"postgresql-global-development-group","affectedVersions":[{"vendor":"PostgreSQL Global Development Group","product":"postgresql","versions":["10.5","9.6.10","9.5.14","9.4.19","9.3.24"]}],"summary":{"text":"A flaw in libpq, the default PostgreSQL client library, lets it fail to properly reset its internal state between connections, affecting PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24. An attacker who can supply the \"host\" or \"hostaddr\" connection parameters from untrusted input, with low privileges and no user interaction, could bypass client-side connection security features, reach higher-privileged connections, or cause SQL injection by making the PQescape() functions malfunction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:02:25Z"},"euvd":{"id":"EUVD-2018-2970","exploited":false,"provenance":"source"}}