CVE-2017-12172: PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20
CVE-2017-12172 is a medium-severity flaw (CVSS 6.7) affecting postgresql. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored s
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.7 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-59 |
| Published | 2017-11-22 |
| Last modified | 2026-10-15 |
Last updated 2026-10-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-12172?
postgresql: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-12172 being exploited?
CVE-2017-12172 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-12172 affect?
CVE-2017-12172 affects postgresql. Severity is medium (CVSS 6.7). PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run ar
How urgent is CVE-2017-12172?
Priority 35/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2023-39417 HIGH 7.5 UPGRADE MITIGATE IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extsche
- CVE-2018-1115 CRITICAL 9.1 UPGRADE MITIGATE postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rot
- CVE-2026-6471 HIGH 7.2 UPGRADE Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to d
- CVE-2026-6470 MEDIUM 4.3 UPGRADE Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against
- CVE-2026-6469 LOW 3.8 UPGRADE Incorrect ownership assignment in PostgreSQL ALTER TABLE ALTER TYPE command reassigns ownership of dependent s