Skip to content
Heist/ feed
Back to feed
MediumFix available

sqlite — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2020-15358

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.

Products
sqlite
Affected versions
Not specified
Fixed versions
3.32.1-r1
CVEs
CVE-2020-15358
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:03 UTC · Revision 1

Source evidence

ALPINE-CVE-2020-15358

core-osv · Original source

Published 27 Jun 2020, 12:15 UTC

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.

osv:ALPINE-CVE-2020-15358

sqlite

Fixed versions: 3.32.1-r1

Complete source record
{
  "id": "092b8a108e3a5f55511c7042f0bc62f96a19d5eef026d2f9a1239827ba77a5b2",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-15358",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2020-15358",
    "summary": "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.",
    "evidence": "osv:ALPINE-CVE-2020-15358",
    "products": [
      {
        "name": {
          "value": "sqlite",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.32.1-r1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "ALPINE-CVE-2020-15358",
      "aliases": [
        "ALPINE-CVE-2020-15358"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.32.1-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "sqlite",
            "purl": "pkg:apk/alpine/sqlite?arch=source",
            "ecosystem": "Alpine:v3.12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15358.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-26T11:17:55.130170234Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-15358"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2020-15358"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-15358",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450437,
  "published_at": "2020-06-27T12:15:11.187+00:00"
}