Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-16850

33
FAUCET Score

CVE-2018-16850 is a critical SQL injection vulnerability affecting PostgreSQL versions prior to 11.1 and 10.6, specifically within pg_upgrade and pg_dump. An attacker can leverage a specially crafted trigger definition to execute arbitrary SQL statements with superuser privileges, impacting various Canonical, PostgreSQL, and Red Hat products. With a CVSS score of 9.8 (Critical), this vulnerability has a network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
>= 10.0, < 10.6CPE matchmatch criteria
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 11.0, < 11.1CPE matchmatch criteria
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
7.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
7.4CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*
7.5CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

8.0HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.1
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
5.15%
Probability of exploitation in next 30 days
EPSS Percentile
91.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0515 is in the 86th percentile among its peer group of 36,897 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (6)

redhatpatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-postgresql10-postgresql-0:10.6-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-postgresql10-postgresql-0:10.6-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-postgresql10-postgresql-0:10.6-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSFixed in: rh-postgresql10-postgresql-0:10.6-1.el7
View patch
gentooworkaround availablevia nvd_reference
View patch

Vendor Advisories (1)

redhatCVE-2018-16850Important

postgresql: SQL injection in pg_upgrade and pg_dump, via CREATE TRIGGER ... REFERENCING

Nov 8, 2018

References

access.redhat.com / errata/RHSA-2018:3757
Third Party Advisory
bugzilla.redhat.com / show_bug.cgi
Issue TrackingPatchThird Party Advisory
security.gentoo.org / glsa/201811-24
MitigationThird Party Advisory
usn.ubuntu.com / 3818-1
Third Party Advisory
postgresql.org / about/news/1905
Release NotesVendor Advisory
securityfocus.com / bid/105923
Third Party AdvisoryVDB Entry
securitytracker.com / id/1042144
Third Party AdvisoryVDB Entry