CVE-2018-16850
postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.
Key facts
- CVSS score
- 9.8 (v3.1)
- Severity
- CRITICAL
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
- CWE-89
- EPSS score
- 5.1% (92th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2018-8644)
- Published
- November 13, 2018
- NVD last modified
- June 17, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2018-8644 in the EU Vulnerability Database. Last updated in EUVD on August 5, 2024.
View on the EU Vulnerability DatabaseAffected products
- canonical / ubuntu linux
- canonical / ubuntu linux
- postgresql / postgresql
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
Certified products that may be affected
8 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.
- Red Hat Enterprise Linux 7 NSS Cryptographic Module - Red Hat®, Inc. - FIPS 140 4498 - historical
- Red Hat Enterprise Linux 7 Kernel Crypto API Cryptographic Module - Red Hat®, Inc. - FIPS 140 3939 - historical
- Red Hat Enterprise Linux 7 OpenSSH Server Cryptographic Module - Red Hat®, Inc. - FIPS 140 3891 - historical
- Red Hat Enterprise Linux 7 OpenSSH Client Cryptographic Module - Red Hat®, Inc. - FIPS 140 3892 - historical
- Red Hat Enterprise Linux 7 OpenSSL Cryptographic Module - Red Hat®, Inc. - FIPS 140 3867 - historical
See all 8 in the Security Certifications Explorer.
References
- http://www.securityfocus.com/bid/105923(Third Party Advisory, VDB Entry)
- http://www.securitytracker.com/id/1042144(Third Party Advisory, VDB Entry)
- https://access.redhat.com/errata/RHSA-2018:3757(Third Party Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850(Issue Tracking, Patch, Third Party Advisory)
- https://security.gentoo.org/glsa/201811-24(Mitigation, Third Party Advisory)
- https://usn.ubuntu.com/3818-1/(Third Party Advisory)
- https://www.postgresql.org/about/news/1905/(Release Notes, Vendor Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain