CVE-2017-7546: PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication
CVE-2017-7546 is a critical-severity flaw (CVSS 9.8) affecting postgresql, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers to gain access to database accounts with an empty password.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 61.6% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-287 |
| Published | 2017-08-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · 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
Exact fixes by distribution
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-7546?
postgresql: downgrade or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-7546 being exploited?
CVE-2017-7546 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-7546 affect?
CVE-2017-7546 affects postgresql, debian linux. Severity is critical (CVSS 9.8). PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers to gain access to database accounts with an empty password.
How urgent is CVE-2017-7546?
Priority 69/100. Critical severity; EPSS top 1%: very likely to be exploited; Remotely exploitable, no login, no user action; On your watchlist
Software pages
PostgreSQL vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2023-5869 HIGH 8.8 UPGRADE DOWNGRADE A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through miss
- CVE-2022-2625 HIGH 8.0 UPGRADE MITIGATE A vulnerability was found in PostgreSQL
- 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-2017-12172 MEDIUM 6.7 DOWNGRADE 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-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