{
  "cveId": "CVE-2018-16850",
  "url": "https://patchblox.com/security/cve/CVE-2018-16850",
  "summary": "CVE-2018-16850 is fixed in 12 products on 1 platform, first by libecpg-compat3 10.6-0ubuntu0.18.04.1, released November 7, 2018. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libecpg6: postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGE...",
  "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.",
  "published": "2018-11-07T16:00:00Z",
  "severity": "Medium",
  "epss": 0.0515,
  "epssPercentile": 0.92472,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libecpg-compat3",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "libecpg-compat3 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libecpg-compat3-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libecpg6",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "libecpg6 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libecpg6-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpgtypes3",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "libpgtypes3 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libpgtypes3-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpq5",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "libpq5 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libpq5-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-client-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-client-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-client-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-doc-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-doc-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-doc-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plperl-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-plperl-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-plperl-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plpython-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-plpython-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-plpython-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plpython3-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-plpython3-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-plpython3-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-pltcl-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-pltcl-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-pltcl-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-server-dev-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.6-0ubuntu0.18.04.1",
      "fix": "postgresql-server-dev-10 10.6-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-server-dev-10-10.6-0ubuntu0.18.04.1",
      "released": "2018-11-07T16:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-07T18:46:35Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}