
CVE catalog
CVE-2018-16850
ALPINE-CVE-2018-16850
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 5.15% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Alpine | postgresql | 3.10 | 11.1-r0 | fixed |
| Alpine | postgresql | 3.11 | 11.1-r0 | fixed |
| Alpine | postgresql | 3.12 | 11.1-r0 | fixed |
| Alpine | postgresql | 3.13 | 11.1-r0 | fixed |
| Alpine | postgresql | 3.14 | 11.1-r0 | fixed |
| Alpine | postgresql | 3.9 | 11.1-r0 | fixed |
| Alpine | postgresql14 | 3.15 | 11.1-r0 | fixed |
| Alpine | postgresql14 | 3.16 | 11.1-r0 | fixed |
| Alpine | postgresql14 | 3.17 | 11.1-r0 | fixed |
| Alpine | postgresql14 | 3.18 | 11.1-r0 | fixed |
| Alpine | postgresql15 | 3.17 | 11.1-r0 | fixed |
| Alpine | postgresql15 | 3.18 | 11.1-r0 | fixed |
| Alpine | postgresql15 | 3.19 | 11.1-r0 | fixed |
| Alpine | postgresql15 | 3.20 | 11.1-r0 | fixed |
| Ubuntu | postgresql-10 | 18.04 | 10.1-1 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.1-2 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.2-1 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.3-1 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.4-0ubuntu0.18.04 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.5-0ubuntu0.18.04 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.6-0ubuntu0.18.04.1 | fixed |
| Ubuntu | postgresql-10 | 18.04 | 10.1-1 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.1-2 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.2-1 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.3-1 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.4-0ubuntu0.18.04 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.5-0ubuntu0.18.04 | vulnerable |
| Ubuntu | postgresql-10 | 18.04 | 10.6-0ubuntu0.18.04.1 | fixed |
| Suse | postgresql10 | linux enterprise desktop 12 sp4 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise desktop 12 sp4 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise software development kit 12 sp4 | 10.6-1.6.1 | fixed |
| Suse | postgresql10 | linux enterprise server 12 sp4 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise server 12 sp4 | 10.6-1.6.1 | fixed |
| Suse | postgresql10 | linux enterprise server for sap applications 12 sp4 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise server for sap applications 12 sp4 | 10.6-1.6.1 | fixed |
| Suse | postgresql10 | linux enterprise desktop 12 sp3 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise desktop 12 sp3 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise software development kit 12 sp3 | 10.6-1.6.1 | fixed |
| Suse | postgresql10 | linux enterprise server 12 sp3 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise server 12 sp3 | 10.6-1.6.1 | fixed |
| Suse | postgresql10 | linux enterprise server for sap applications 12 sp3 | 10.6-1.6.1 | fixed |
| Suse | postgresql10-libs | linux enterprise server for sap applications 12 sp3 | 10.6-1.6.1 | fixed |
| Suse | postgresql10 | linux enterprise module for basesystem 15 | 10.6-4.8.1 | fixed |
| Suse | postgresql10 | linux enterprise module for package hub 15 | 10.6-4.8.1 | fixed |
| Suse | postgresql10 | linux enterprise module for server applications 15 | 10.6-4.8.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Alpine | postgresql | apk | 3.10 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql | apk | 3.11 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql | apk | 3.12 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql | apk | 3.13 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql | apk | 3.14 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql | apk | 3.9 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql14 | apk | 3.15 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql14 | apk | 3.16 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql14 | apk | 3.17 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql14 | apk | 3.18 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql15 | apk | 3.17 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql15 | apk | 3.18 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql15 | apk | 3.19 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Alpine | postgresql15 | apk | 3.20 | 11.1-r0 | Not reported | ALPINE-CVE-2018-16850 | Not reported |
| Ubuntu | postgresql-10 | deb | 18.04 | 10.6-0ubuntu0.18.04.1 | Not reported | UBUNTU-CVE-2018-16850 | Not reported |
| Ubuntu | postgresql-10 | deb | 18.04 | 10.6-0ubuntu0.18.04.1 | Not reported | USN-3818-1 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise desktop 12 sp4 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-2 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise desktop 12 sp4 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-2 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise software development kit 12 sp4 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-2 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise server 12 sp4 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-2 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise server 12 sp4 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-2 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise server for sap applications 12 sp4 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-2 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise server for sap applications 12 sp4 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-2 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise desktop 12 sp3 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-1 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise desktop 12 sp3 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-1 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise software development kit 12 sp3 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-1 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise server 12 sp3 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-1 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise server 12 sp3 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-1 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise server for sap applications 12 sp3 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-1 | Not reported |
| Suse | postgresql10-libs | rpm | linux enterprise server for sap applications 12 sp3 | 10.6-1.6.1 | Not reported | SUSE-SU-2018:3770-1 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise module for basesystem 15 | 10.6-4.8.1 | Not reported | SUSE-SU-2018:3942-1 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise module for package hub 15 | 10.6-4.8.1 | Not reported | SUSE-SU-2018:3942-1 | Not reported |
| Suse | postgresql10 | rpm | linux enterprise module for server applications 15 | 10.6-4.8.1 | Not reported | SUSE-SU-2018:3942-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_3770-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-16850]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3770-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3770-2]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3942-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-16850]
- [https://osv.dev/vulnerability/USN-3818-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-16850.json]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]