{
  "cveId": "CVE-2020-15358",
  "url": "https://patchblox.com/security/cve/CVE-2020-15358",
  "summary": "CVE-2020-15358 is fixed in 8 products on 1 platform, first by lemon 3.31.1-4ubuntu0.2, released June 27, 2020. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "In SQLite before 3.32.3 select.c mishandles query-flattener optimization leading to a multiSelectOrderBy heap overflow because of misuse of transitive properties for constant propagation.",
  "description": "SQLite is a C library that implements an SQL database engine. A large subset of SQL92 is supported. A complete database is stored in a single disk file. The API is designed for convenience and ease of use. Applications that link against SQLite can enjoy the power and flexibility of an SQL database without the administrative hassles of supporting a separate database server.\n\nSecurity Fix(es):\n\n* sqlite: integer overflow in sqlite3_str_vappendf function in printf.c (CVE-2020-13434)\n\n* sqlite: heap-based buffer overflow in multiSelectOrderBy due to mishandling of query-flattener optimization in select.c (CVE-2020-15358)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 8.4 Release Notes linked from the References section.",
  "published": "2020-06-27T05:15:00Z",
  "severity": "Moderate",
  "cvss": 5.5,
  "cwe": "Out-of-bounds Write",
  "epss": 0.01018,
  "epssPercentile": 0.63551,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2020-15358",
  "fixes": [
    {
      "platform": "linux",
      "product": "lemon",
      "release": "RHEL 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "RHSA-2021:1581",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-1581",
      "released": "2021-05-18T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "lemon",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.31.1-4ubuntu0.2",
      "fix": "lemon 3.31.1-4ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-lemon-3.31.1-4ubuntu0.2",
      "released": "2020-06-27T05:15:00Z"
    },
    {
      "platform": "linux",
      "product": "lemon",
      "release": "ol 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "ELSA-2021-1581",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-1581",
      "released": "2021-05-25T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libsqlite3-0",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.31.1-4ubuntu0.2",
      "fix": "libsqlite3-0 3.31.1-4ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libsqlite3-0-3.31.1-4ubuntu0.2",
      "released": "2020-06-27T05:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libsqlite3-tcl",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.31.1-4ubuntu0.2",
      "fix": "libsqlite3-tcl 3.31.1-4ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libsqlite3-tcl-3.31.1-4ubuntu0.2",
      "released": "2020-06-27T05:15:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite",
      "release": "RHEL 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "RHSA-2021:1581",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-1581",
      "released": "2021-05-18T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite",
      "release": "ol 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "ELSA-2021-1581",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-1581",
      "released": "2021-05-25T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite-devel",
      "release": "RHEL 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "RHSA-2021:1581",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-1581",
      "released": "2021-05-18T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite-devel",
      "release": "ol 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "ELSA-2021-1581",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-1581",
      "released": "2021-05-25T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite-doc",
      "release": "RHEL 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "RHSA-2021:1581",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-1581",
      "released": "2021-05-18T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite-doc",
      "release": "ol 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "ELSA-2021-1581",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-1581",
      "released": "2021-05-25T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite-libs",
      "release": "RHEL 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "RHSA-2021:1581",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-1581",
      "released": "2021-05-18T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite-libs",
      "release": "ol 8",
      "fixedVersion": "0:3.26.0-13.el8",
      "fix": "ELSA-2021-1581",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-1581",
      "released": "2021-05-25T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "sqlite3",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.31.1-4ubuntu0.2",
      "fix": "sqlite3 3.31.1-4ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-sqlite3-3.31.1-4ubuntu0.2",
      "released": "2020-06-27T05:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}