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 ...
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.15%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 5.15% probability · 92th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-89
- Affected
- postgresql/postgresql · redhat/enterprise linux · canonical/ubuntu linux
- Source
- secalert@redhat.com
EPSS 5.1% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://www.securityfocus.com/bid/105923Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24Mitigation, Third Party Advisory
- https://usn.ubuntu.com/3818-1/Third Party Advisory
- https://www.postgresql.org/about/news/1905/Release Notes, Vendor Advisory
- http://www.securityfocus.com/bid/105923Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24Mitigation, Third Party Advisory
- https://usn.ubuntu.com/3818-1/Third Party Advisory
- https://www.postgresql.org/about/news/1905/Release Notes, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.