---
id: CVE-2021-36690
title: >-
  A segmentation fault can occur in the sqlite3.exe command-line component of
  SQLite 3.36.0 via the idxGetTableInfo function when there is a crafted SQL
  query
summary: >-
  A segmentation fault can occur in the sqlite3.exe command-line component of
  SQLite 3.36.0 via the idxGetTableInfo function when there is a crafted SQL
  query. NOTE: the vendor disputes the relevance of this report because a
  sqlite3.exe us…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: sqlite
product: sqlite
affected:
  - sqlite = 3.36.0
  - zfs_storage_appliance_kit = 8.8
  - iphone_os < 16.0
  - macos < 13.0
  - tvos < 16.0
  - watchos < 9.0
patched:
  - iphone_os 16.0
  - macos 13.0
  - tvos 16.0
  - watchos 9.0
published: '2021-08-24'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T12:17:14.900'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-36690'
references:
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/28'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/39'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/41'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/47'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/49'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT213446'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT213486'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT213487'
    label: cve@mitre.org
  - url: 'https://support.apple.com/kb/HT213488'
    label: cve@mitre.org
  - url: 'https://www.sqlite.org/forum/forumpost/718c0a8d17'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/28'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/39'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/41'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/47'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/49'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/09/msg00050.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213446'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213486'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213487'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213488'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.sqlite.org/forum/forumpost/718c0a8d17'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.03898
epssPercentile: 0.90039
ingestedAt: '2026-10-14T12:29:10.825Z'
---

## Overview

A segmentation fault can occur in the sqlite3.exe command-line component of SQLite 3.36.0 via the idxGetTableInfo function when there is a crafted SQL query. NOTE: the vendor disputes the relevance of this report because a sqlite3.exe user already has full privileges (e.g., is intentionally allowed to execute commands). This report does NOT imply any problem in the SQLite library.

## Affected

- `sqlite = 3.36.0`
- `zfs_storage_appliance_kit = 8.8`
- `iphone_os < 16.0`
- `macos < 13.0`
- `tvos < 16.0`
- `watchos < 9.0`

## Remediation

Upgrade past the affected range:

- `iphone_os 16.0`
- `macos 13.0`
- `tvos 16.0`
- `watchos 9.0`
