Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2017-7486: PostgreSQL versions 8.4 - 9.6 are vulnerable to information leak in pg_user_mappings view which discloses foreign server passwords to any…

HighCVSS 7.5 · v3.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 32/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 6.3% (FIRST EPSS); higher than 93.7% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: postgresql (Alpine:v3.10) 9.6.3-r0; postgresql14 (Alpine:v3.15) 9.6.3-r0; postgresql15 (Alpine:v3.17) 9.6.3-r0.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to postgresql (Alpine:v3.10) 9.6.3-r0; postgresql14 (Alpine:v3.15) 9.6.3-r0; postgresql15 (Alpine:v3.17) 9.6.3-r0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

PostgreSQL versions 8.4 - 9.6 are vulnerable to information leak in pg_user_mappings view which discloses foreign server passwords to any user having USAGE privilege on the associated foreign server.

Published
May 12, 2017
Updated
Jun 16, 2026
EPSS
6.3% · 93th percentile

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 6.3%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2017-7486

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is PostgreSQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Is PostgreSQL on your server exposed to the internet?Run a port scan

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
postgresqlpostgresql

Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)

Watch new CVEs for postgresql

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is PostgreSQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is PostgreSQL on your server exposed to the internet?

The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.

Run a port scan

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • The PostgreSQL Global Development Group PostgreSQL

    • 8.4 - 9.6affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10postgresqlbefore 9.6.3-r09.6.3-r0
Alpine:v3.15postgresql14before 9.6.3-r09.6.3-r0
Alpine:v3.17postgresql15before 9.6.3-r09.6.3-r0
Alpine:v3.3postgresqlbefore 9.4.12-r09.4.12-r0
Alpine:v3.4postgresqlbefore 9.5.7-r09.5.7-r0
Debian:7postgresql-9.1before 9.1.24lts2-0+deb7u19.1.24lts2-0+deb7u1
Debian:8postgresql-9.4before 9.4.12-0+deb8u19.4.12-0+deb8u1
Red Hat:enterprise_linux:7::clientpostgresqlbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-contribbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-debuginfobefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-develbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-docsbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-libsbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-plperlbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-plpythonbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-pltclbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-serverbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-staticbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-testbefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:enterprise_linux:7::clientpostgresql-upgradebefore 0:9.2.21-1.el70:9.2.21-1.el7
Red Hat:network_satellite_managed_db:5.7::el6rh-postgresql95-runtimebefore 0:2.2-3.el60:2.2-3.el6
Red Hat:network_satellite_managed_db:5.7::el6spacewalk-base-minimalbefore 0:2.3.2-35.el6sat0:2.3.2-35.el6sat
Red Hat:network_satellite_managed_db:5.7::el6spacewalk-dobbybefore 0:2.3.2-35.el6sat0:2.3.2-35.el6sat
Red Hat:network_satellite_managed_db:5.7::el6spacewalk-postgresql-serverbefore 0:9.5-1.el6sat0:9.5-1.el6sat

+81

Other highest-scoring records for the same primary product.

  • CVE-2017-7546PostgreSQL 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…
    57Plan
  • CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to…
    55Plan
  • CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.
    49Plan

Published before and after this one in the same product

  • ← EarlierCVE-2017-7484May 12, 2017 · It was found that some selectivity estimation functions in PostgreSQL before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before…
    31Monitor
  • ← EarlierCVE-2017-7485May 12, 2017 · In PostgreSQL 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3, it was found that the PGREQUIRESSL…
    24Monitor
  • Later →CVE-2016-0768Jun 6, 2017 · PostgreSQL PL/Java after 9.0 does not honor access controls on large objects.
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:postgresql9.6.3-r0 · Alpine:v3.10Package registry (OSV)
alpine:postgresql149.6.3-r0 · Alpine:v3.15Package registry (OSV)
alpine:postgresql159.6.3-r0 · Alpine:v3.17Package registry (OSV)
debian:postgresql-9.19.1.24lts2-0+deb7u1 · Debian:7Package registry (OSV)
debian:postgresql-9.49.4.12-0+deb8u1 · Debian:8Package registry (OSV)
red hat:rh-postgresql95-postgresql0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-contrib0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-debuginfo0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-devel0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-docs0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-libs0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-plperl0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-plpython0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-pltcl0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-server0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-static0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-postgresql95-postgresql-test0:9.5.7-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
suse:postgresql939.3.17-24.2 · SUSE:Linux Enterprise Server for SAP Applications 12Package registry (OSV)
suse:postgresql949.4.12-20.1 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)
suse:postgresql94-libs9.4.12-20.1 · SUSE:Linux Enterprise Software Development Kit 12 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

References

All records