CVE-2018-10915
A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its inte…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running PostgreSQL Global Development Group postgresql 10.5; 9.6.10; 9.5.14; 9.4.19; 9.3.24
Vulnerability facts
- Affected
- PostgreSQL Global Development Group postgresql 10.5; 9.6.10; 9.5.14; 9.4.19; 9.3.24
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.5 (v3.0, CNA)CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 5.07% chance of exploitation in 30 days (percentile 93, 2026-11-26)
- CWE
- CWE-665, CWE-200, CWE-89
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PostgreSQL Global Development Group postgresql | 10.5; 9.6.10; 9.5.14; 9.4.19; 9.3.24 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-10915. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-10915.md Affected: PostgreSQL Global Development Group postgresql 10.5; 9.6.10; 9.5.14; 9.4.19; 9.3.24 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for PostgreSQL Global Development Group postgresql: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://security.gentoo.org/glsa/201810-08
- https://access.redhat.com/errata/RHSA-2018:2729
- https://www.debian.org/security/2018/dsa-4269
- https://access.redhat.com/errata/RHSA-2018:2643
- https://access.redhat.com/errata/RHSA-2018:2721
- https://access.redhat.com/errata/RHSA-2018:2511
- https://usn.ubuntu.com/3744-1/
- https://access.redhat.com/errata/RHSA-2018:2566
- https://access.redhat.com/errata/RHSA-2018:2565
- https://access.redhat.com/errata/RHSA-2018:3816
- https://www.postgresql.org/about/news/1878/
- https://access.redhat.com/errata/RHSA-2018:2557
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
FAQ
Is CVE-2018-10915 being exploited?
There is no confirmed exploitation: CVE-2018-10915 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.07% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-10915?
High: CVSS 8.5 (v3.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2018-10915?
PostgreSQL Global Development Group postgresql 10.5; 9.6.10; 9.5.14; 9.4.19; 9.3.24.
Is there a fix for CVE-2018-10915?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2018-10915?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.