In SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELECT statement. CREATE(Triage):(User=admin) [CVE-2020-11656|https://nvd.nist.gov/vuln/detail/CVE-2020-11656]