Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-19244

sqlite3Select in select.c in SQLite 3.30.1 allows a crash if a sub-select uses both DISTINCT and window functions, and also has certain ORDER BY usage.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-19244
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:32 UTC · Revision 1

Source evidence

CVE-2019-19244

core-osv · Original source

Published 25 Nov 2019, 20:15 UTC

sqlite3Select in select.c in SQLite 3.30.1 allows a crash if a sub-select uses both DISTINCT and window functions, and also has certain ORDER BY usage.

osv:CVE-2019-19244
Complete source record
{
  "id": "dacb801d1b5adcfd43170394c4bdf077a0de435fd5d1536697b7e1254cda02fd",
  "url": "https://osv.dev/vulnerability/CVE-2019-19244",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-19244",
    "summary": "sqlite3Select in select.c in SQLite 3.30.1 allows a crash if a sub-select uses both DISTINCT and window functions, and also has certain ORDER BY usage.",
    "evidence": "osv:CVE-2019-19244",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-19244",
      "aliases": [
        "CVE-2019-19244"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sqlite/sqlite",
              "type": "GIT",
              "events": [
                {
                  "introduced": "25e9591209453dc0904f8f0f1c4d5090c836e19b"
                },
                {
                  "last_affected": "25e9591209453dc0904f8f0f1c4d5090c836e19b"
                },
                {
                  "fixed": "e59c562b3f6894f84c715772c4b116d7b5c01348"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sqlite:sqlite:3.30.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.30.1"
                      },
                      {
                        "last_affected": "3.30.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e59c562b3f6894f84c715772c4b116d7b5c01348"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.30.1",
            "version-3.30.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19244.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-19244-652b17d8",
                "digest": {
                  "length": 20834,
                  "function_hash": "38481929271442211087035536124376153566"
                },
                "source": "https://github.com/sqlite/sqlite/commit/e59c562b3f6894f84c715772c4b116d7b5c01348",
                "target": {
                  "file": "src/select.c",
                  "function": "sqlite3Select"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-19244-b9d621f2",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "231046744150485219572177089002188912046",
                    "117842132687320311230731684165956324101",
                    "185875421724310786651717110956663378479",
                    "18366247976400817558515736431884541750"
                  ]
                },
                "source": "https://github.com/sqlite/sqlite/commit/e59c562b3f6894f84c715772c4b116d7b5c01348",
                "target": {
                  "file": "src/select.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:46:42Z"
          }
        }
      ],
      "modified": "2026-10-20T13:46:42.772945679Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-389290.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
        "https://usn.ubuntu.com/4205-1/",
        "https://github.com/sqlite/sqlite/commit/e59c562b3f6894f84c715772c4b116d7b5c01348",
        "https://www.oracle.com/security-alerts/cpuapr2020.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:mysql_workbench",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "8.0.19"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "siemens:sinec_infrastructure_network_services",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.1.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "19.04"
                  },
                  {
                    "last_affected": "19.04"
                  },
                  {
                    "introduced": "19.10"
                  },
                  {
                    "last_affected": "19.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-19244",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388230,
  "published_at": "2019-11-25T20:15:11.407+00:00"
}