CVE-2018-10915
Reported by redhat · Published August 9, 2018
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL Global Development Group | postgresql | 10.5, 9.6.10, 9.5.14 |
| PostgreSQL Global Development Group | postgresql | 9.6.10, 9.3.24, 9.4.19 |
| alpine | postgresql | 0, 0 |
| alpine | postgresql14 | 0 |
| amazon:2 | postgresql | 0 |
| amazon:2 | postgresql-server | 0 |
| amazon:2 | postgresql-plpython | 0 |
| amazon:2 | postgresql-contrib | 0 |
| alpine | postgresql15 | 0 |
| amazon:2 | postgresql-pltcl | 0 |
| amazon:2 | postgresql-plperl | 0 |
| amazon:2 | postgresql-docs | 0 |
| amazon:2 | postgresql-devel | 0 |
| amazon:2 | postgresql-libs | 0 |
| amazon:2 | postgresql-static | 0 |
| amazon:2 | postgresql-test | 0 |
| amazon:2 | postgresql-upgrade | 0 |
Timeline
- Aug 9, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (11 in total, the first dated here)
- Mar 6, 2026 Security Advisory (14 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-10915
vulnetix vdb fixes CVE-2018-10915
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10915/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-201810-08 vendor-advisoryx_refsource_GENTOO
- RHSA-2018:2729 vendor-advisoryx_refsource_REDHAT
- DSA-4269 vendor-advisoryx_refsource_DEBIAN
- RHSA-2018:2643 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2721 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2511 vendor-advisoryx_refsource_REDHAT
- USN-3744-1 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20180815 [SECURITY] [DLA 1464-1] postgresql-9.4 security update mailing-listx_refsource_MLIST
- RHSA-2018:2566 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2565 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2018:3816 vendor-advisoryx_refsource_REDHAT
- 105054 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- RHSA-2018:2557 vendor-advisoryx_refsource_REDHAT
- 1041446 vdb-entryx_refsource_SECTRACK
- openSUSE-SU-2020:1227 vendor-advisoryx_refsource_SUSE